Commit Graph

384 Commits

Author SHA1 Message Date
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
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
e8639517da Change the project to become a workspace with milli as a default-member 2021-02-12 16:15:09 +01:00