Commit Graph

14 Commits

Author SHA1 Message Date
Clément Renault
b41bf58658
Split the FacetDistribution facet_values method into three 2021-01-27 18:29:56 +01:00
Clément Renault
a3e3bebed7
Rework the FacetDistribution execute method to use the faceted_fields struct 2021-01-27 18:29:54 +01:00
Clément Renault
11309ee99c
Rework the FacetDistribution execute method to use the faceted_fields struct 2021-01-27 14:53:50 +01:00
Clément Renault
9c8a654079
Add comments to help read the facet_values branchings 2021-01-27 14:49:08 +01:00
Clément Renault
2e00740515
Make sure that we don't iterate throught all string facet values 2021-01-27 14:41:36 +01:00
Clément Renault
b52d500fbc
Reorder the FacetType enum branching in the facet_value method 2021-01-27 14:36:49 +01:00
Clément Renault
d91d321129
Introduce some constants to the FacetDistribution struct and settings 2021-01-27 14:32:30 +01:00
Kerollmops
916dd3b7c5
Use the faceted_fields_ids method to fetch the ids 2021-01-26 14:14:38 +01:00
Kerollmops
7be275b692
Add the count to the facet distribution 2021-01-26 14:14:37 +01:00
Clément Renault
4b9e81fc89
Order the facet values lexicographically 2021-01-26 14:09:09 +01:00
Kerollmops
d893e83622
Speed-up facet aggregation by using a FacetIter 2021-01-26 14:09:08 +01:00
Clément Renault
3916c54501
Speed-up facet aggregation on low number of candidates 2021-01-26 14:06:28 +01:00
Clément Renault
a17bb54d8f
Limit the number of values by facets to a maximum of 1000 2021-01-26 14:06:28 +01:00
Kerollmops
3b64735058
Introduce a struct to compute facets values 2021-01-26 14:06:27 +01:00