Commit Graph

572 Commits

Author SHA1 Message Date
14f9f85c4b Introduce the AscDesc criterion 2021-03-03 15:43:44 +01:00
b5b7ec0162 implement initial state for words criterion 2021-03-03 15:43:44 +01:00
3415812b06 Imrpove the intersection speed in the words criterion 2021-03-03 15:43:43 +01:00
ef381e17bb Compute the candidates for each sub query tree 2021-03-03 15:43:43 +01:00
e174ccbd8e Use the words criterion in the search module 2021-03-03 15:43:43 +01:00
1e47f9b3ff Introduce the Words criterion 2021-03-03 15:43:43 +01:00
2d068bd45b implement Context trait for criteria 2021-03-03 15:43:43 +01:00
d92ad5640a remove option on bucket_candidates 2021-03-03 15:43:43 +01:00
64688b3786 fix query tree builder 2021-03-03 15:43:43 +01:00
fb7e6df790 add tests on typo criterion 2021-03-03 15:43:43 +01:00
c5a32fd4fa Fix the typo criterion 2021-03-03 15:43:42 +01:00
a273c46559 clean warnings 2021-03-03 15:43:42 +01:00
9e093d5ff3 add cache on alterate_query_tree function 2021-03-03 15:43:42 +01:00
41fc51ebcf optimize alterate_query_tree when number_typos is zero 2021-03-03 15:43:42 +01:00
4da6e1ea9c add cache in typo criterion 2021-03-03 15:43:42 +01:00
67c71130df Reduce the number of calls to alterate_query_tree 2021-03-03 15:43:42 +01:00
9ccaea2afc simplify criterion context 2021-03-03 15:43:42 +01:00
fea9ffc46a Use the bucket candidates in the search module 2021-03-03 15:43:42 +01:00
229130ed25 Correctly compute the bucket candidates for the Typo criterion 2021-03-03 15:43:42 +01:00
5344abc008 Introduce the CriterionResult return type 2021-03-03 15:43:41 +01:00
86bcecf840 change variable's name from distance to proximity 2021-03-03 15:43:41 +01:00
4128bdc859 reduce match possibilities in docids fetchers 2021-03-03 15:43:41 +01:00
907482c8ac clean docids fetchers 2021-03-03 15:43:41 +01:00
774a255f2e use prefix cache in criteria 2021-03-03 15:43:41 +01:00
98e69e63d2 implement Context trait for criteria 2021-03-03 15:43:41 +01:00
f091f370d0 Use the Typo criteria in the search module 2021-03-03 15:43:41 +01:00
ad20d72a39 Introduce the Typo criterion 2021-03-03 15:43:41 +01:00
f0ddea821c Introduce the Typo criterion 2021-03-03 15:43:41 +01:00
73286dc8bf Introduce the query tree data structure 2021-03-03 15:43:40 +01:00
4e84999f20 Merge pull request #80 from meilisearch/query_tree
Introduce the query tree data structure
2021-03-03 14:25:29 +01:00
411a118148 Avoid testing on nightly to fix a crate issue 2021-03-03 13:57:36 +01:00
240b02e175 Remove unused Operation constructors 2021-03-03 13:40:19 +01:00
a463ae821e Add methods optional_words and authorize_typos on the query tree 2021-03-03 13:40:19 +01:00
6d135beb21 Introduce the maximum_proximity helper function 2021-03-03 13:40:18 +01:00
6008f528d0 Introduce the maximum_typo helper function 2021-03-03 13:40:18 +01:00
1dc857a4b2 Fix the query tree optional word generation with phrases 2021-03-03 13:40:18 +01:00
4f19749252 Introduce the word_documents_count method on the Context trait 2021-03-03 13:40:18 +01:00
79a143b32f Introduce the query tree data structure 2021-03-03 13:40:18 +01:00
5f109e8589 Merge pull request #95 from meilisearch/helpers-crate
Introduce an helpers crate that export the database to stdout
2021-03-01 19:59:18 +01:00
9423310816 Introduce an helpers crate that export the database to stdout 2021-03-01 19:55:04 +01:00
68102fced8 Merge pull request #86 from meilisearch/clean-up-infos-crate
Clean up the infos crate
2021-03-01 19:54:21 +01:00
1eb7ce5cdb Improve the export-documents infos command by accepting internal ids 2021-03-01 19:48:01 +01:00
4884b324e6 Remove the useless external ids patch method in the infos crate 2021-03-01 19:48:01 +01:00
78bede1ffb Fix error displaying of the workspace members 2021-03-01 19:48:01 +01:00
b59fe77ec7 Avoid creating a default empty database in the search crate 2021-03-01 19:48:01 +01:00
45330a5e47 Avoid creating a default empty database in the infos crate 2021-03-01 19:48:00 +01:00
794fce7bff Merge pull request #91 from meilisearch/add-primary-key-to-fields-map
add primary key to fields_id_map when not present
2021-03-01 16:20:41 +01:00
e08b6b3ec7 add primary key to fields_id_map when not present 2021-03-01 16:10:16 +01:00
8dcb3e0c41 Merge pull request #90 from meilisearch/words-prefixes-update
Expose the WordsPrefixes update from the UpdateBuilder
2021-02-21 12:27:48 +01:00
c62d2f56d8 Expose an http route for the WordsPrefixes update 2021-02-21 12:16:53 +01:00