Mailspring/internal_packages/thread-search/lib
Mark Hahnenberg 668c2935c9 [thread-search] Improve local thread search
Summary:
Previously we waited to build the local ThreadSearch index until we were
done with the initial mail sync. This is undesirable because inboxes can
be very large, making local sync useless for a number of hours after a
user adds an account. This diff removes that restriction.

This diff also adds a new rudimentary new grammar (along with accompanying lexer
and parser) for local thread search queries. This grammar is then
translated into the appropriate SQL queries on the ThreadSearch index
table. More advanced features (e.g. in:category, date ranges, etc) can be added
easily in the future by augmenting this simple search query language.

Test Plan: Run locally, new unit tests

Reviewers: juan, evan, khamidou

Reviewed By: khamidou

Differential Revision: https://phab.nylas.com/D3614
2017-01-11 14:26:42 -08:00
..
main.es6
search-actions.es6
search-mailbox-perspective.es6 [thread-search] Fix archiving from search perspective 2017-01-04 11:15:45 -08:00
search-query-parser.es6 [thread-search] Improve local thread search 2017-01-11 14:26:42 -08:00
search-query-subscription.es6 [thread-search] Improve local thread search 2017-01-11 14:26:42 -08:00
search-store.es6
thread-search-bar.jsx fix(search): allow custom search result elements 2016-11-17 16:01:55 -08:00