MeiliSearch/milli/src/search/criteria
bors[bot] 2f5e61bacb
Merge #184
184: Transfer numbers and strings facets into the appropriate facet databases r=Kerollmops a=Kerollmops

This pull request is related to https://github.com/meilisearch/milli/issues/152 and changes the layout of the facets values, numbers and strings are now in dedicated databases and the user no more needs to define the type of the fields. No more conversion between the two types is done, numbers (floats and integers converted to f64) go to the facet float database and strings go to the strings facet database.

There is one related issue that I found regarding CSVs, the values in a CSV are always considered to be strings, [meilisearch/specifications#28](d916b57d74/text/0028-indexing-csv.md) fixes this issue by allowing the user to define the fields types using `:` in the "CSV Formatting Rules" section.

All previous tests on facets have been modified to pass again and I have also done hand-driven tests with the 115m songs dataset. Everything seems to be good!

Fixes #192.

Co-authored-by: Clément Renault <clement@meilisearch.com>
Co-authored-by: Kerollmops <clement@meilisearch.com>
2021-05-31 13:32:58 +00:00
..
asc_desc.rs Fix the tests and remaining warnings 2021-05-25 11:31:06 +02:00
attribute.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
exactness.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
final.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
initial.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
mod.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
proximity.rs Fix plane sweep algorithm 2021-05-25 18:21:55 +02:00
typo.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00
words.rs Introduce a filtered_candidates field 2021-05-11 11:37:40 +02:00