Commit Graph

223 Commits

Author SHA1 Message Date
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
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
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
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