Commit Graph

26 Commits

Author SHA1 Message Date
2d8d0af1a6 Rename short name bc by ic for initial_candidates 2022-12-13 10:56:38 +01:00
55724f2412 Introduce an initial candidates set that makes the difference between an exhaustive count and an estimation 2022-12-08 09:41:34 +01:00
6b2fe94192 Fixes for clippy bringing us down to 18 remaining issues.
This brings us a step closer to enforcing clippy on each build.
2022-10-25 20:49:02 +02:00
9716fb3b36 format the whole project 2021-06-16 18:33:33 +02:00
312c2d1d8e Use the Error enum everywhere in the project 2021-06-14 16:58:38 +02:00
a3944a7083 Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
e923d51b8f Make bucket candidates optionals 2021-05-10 10:27:04 +02:00
ee09e50e7f Remove excluded document in criteria iterations
- pass excluded document to criteria to remove them in higher levels of the bucket-sort
- merge already returned document with excluded documents to avoid duplicas

Related to #125 and #112
Fix #170
2021-04-29 12:09:38 +02:00
59f58c15f7 Implement attribute criterion
* Implement WordLevelIterator
* Implement QueryLevelIterator
* Implement set algorithm based on iterators

Not tested + Some TODO to fix
2021-04-27 14:39:52 +02:00
658f316511 Introduce the Initial Criterion 2021-04-27 14:35:43 +02:00
75464a1baa review fixes 2021-04-15 16:25:56 +02:00
45c45e11dd implement distinct attribute
distinct can return error

facet distinct on numbers

return distinct error

review fixes

make get_facet_value more generic

fixes
2021-04-15 16:25:55 +02:00
62a70c300d Optimize words criterion 2021-03-10 10:42:53 +01:00
b18ec00a7a Add a logging_timer macro to te criterion next methods 2021-03-08 16:12:06 +01:00
5fcaedb880 Introduce a WordDerivationsCache struct 2021-03-08 16:00:53 +01:00
2cc4a467a6 Change the criterion output that cannot fail 2021-03-03 18:18:33 +01:00
1fc25148da Remove useless where clauses for the criteria 2021-03-03 18:09:19 +01:00
025835c5b2 Fix the criteria to avoid always returning a placeholder 2021-03-03 15:45:03 +01:00
36c1f93ceb Do an union of the bucket candidates 2021-03-03 15:45:03 +01:00
daf126a638 Introduce the final Fetcher criterion 2021-03-03 15:45:03 +01:00
4510bbccca Add a lot of debug 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