create a new db with getters and setters

This commit is contained in:
Irevoire 2021-08-23 16:32:11 +02:00 committed by Tamo
parent b22aac92ac
commit 8d9c2c4425
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
3 changed files with 30 additions and 2 deletions

View file

@ -51,6 +51,7 @@ pub type DocumentId = u32;
pub type FieldId = u16;
pub type Position = u32;
pub type FieldDistribution = BTreeMap<String, u64>;
pub type GeoPoint = rstar::primitives::GeomWithData<[f64; 2], DocumentId>;
/// Transform a raw obkv store into a JSON Object.
pub fn obkv_to_json(