MeiliSearch/milli/src
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
..
facet Simplify integer and float functions trait bounds 2021-04-20 10:23:31 +02:00
heed_codec Introduce the TreeLevel struct 2021-04-27 14:25:35 +02:00
search Merge #184 2021-05-31 13:32:58 +00:00
update Resolve code modification suggestions 2021-05-31 15:22:50 +02:00
criterion.rs Split the update side to use the number and the strings facet databases 2021-05-25 11:30:00 +02:00
external_documents_ids.rs feat(index): update fields distribution in clear & delete operations 2021-04-01 19:12:35 +03:00
fields_ids_map.rs Fix pull request reviews 2021-05-06 14:31:03 +02:00
index.rs Split the update side to use the number and the strings facet databases 2021-05-25 11:30:00 +02:00
lib.rs Introduce the TreeLevel struct 2021-04-27 14:25:35 +02:00
proximity.rs Change the project to become a workspace with milli as a default-member 2021-02-12 16:15:09 +01:00
tree_level.rs Implement attribute criterion 2021-04-27 14:39:52 +02:00
update_store.rs Change the project to become a workspace with milli as a default-member 2021-02-12 16:15:09 +01:00