meilisearch/milli
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
..
src Merge #388 2021-10-12 09:25:16 +00:00
tests Implement documents format 2021-09-21 16:58:33 +02:00
Cargo.toml Update version for the next release (v0.17.2) 2021-10-11 15:20:35 +02:00