MeiliSearch/milli/src/update/index_documents
bors[bot] 6e3b869e6a
Merge #388
388: fix primary key inference r=MarinPostma a=MarinPostma

The primary key is was infered from a hashtable index of the field. For this reason the order in which the fields were interated upon was not deterministic, and the primary key was chosed ffrom the first field containing "id".

This fix sorts the the index by field_id when infering the primary key.


Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-10-12 09:25:16 +00:00
..
extract Make max_position_per_attributes changable 2021-10-12 10:10:50 +02:00
helpers Check if key are not empty in validator 2021-09-08 15:25:23 +02:00
mod.rs Make max_position_per_attributes changable 2021-10-12 10:10:50 +02:00
store.rs Plug new indexer 2021-09-01 16:48:36 +02:00
transform.rs infer primary key on sorted fields 2021-10-12 11:15:11 +02:00
typed_chunk.rs Simplify word level position DB into a word position DB 2021-10-05 12:15:02 +02:00