Skip to content

Add a unified search provider #3433

Merged
GretaD merged 2 commits into
masterfrom
feature/unified-search
Aug 25, 2020
Merged

Add a unified search provider #3433
GretaD merged 2 commits into
masterfrom
feature/unified-search

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Aug 11, 2020

Copy link
Copy Markdown
Member

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst force-pushed the feature/unified-search branch from a68eace to cf8c482 Compare August 25, 2020 11:46
Comment thread lib/Db/MessageMapper.php
$qb->createNamedParameter('%' . $this->db->escapeLikeParameter($query->$query->getSubject()) . '%', IQueryBuilder::PARAM_STR),
IQueryBuilder::PARAM_STR
$qb->expr()->orX(
...array_map(function (string $subject) use ($qb) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😱 You can do that in php too??

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always has been

/**
* We combine local flag and headers merge with UIDs that match the body search if necessary
*
* @todo find a way to search across all mailboxes efficiently without iterating over each of them and include IMAP results

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GretaD GretaD merged commit bd76d9d into master Aug 25, 2020
@GretaD GretaD deleted the feature/unified-search branch August 25, 2020 14:17
@severin-lemaignan severin-lemaignan mentioned this pull request Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants