mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-23 08:46:07 +08:00
4a77f318e5
Summary: We had to add the id to the index as well (along with is_search_indexed) so that the query worked correctly since it sorts by id. Also added a default value of 0 for boolean attributes so that we don't have to query for two different values (0 and null), which was causing sqlite to have to do a final b-tree sort which is slow. Test Plan: Run locally, verify query plan with EXPLAIN QUERY PLAN Reviewers: evan, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3712 |
||
---|---|---|
.. | ||
contact-search-indexer.es6 | ||
event-search-indexer.es6 | ||
main.es6 | ||
search-indexer.es6 | ||
thread-search-index-store.es6 |