Introduce the UpdateBuilder type along with some update operations

This commit is contained in:
Clément Renault 2020-10-25 18:32:01 +01:00
parent adacc7977d
commit b14cca2ad9
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
9 changed files with 382 additions and 39 deletions

View file

@ -62,7 +62,7 @@ pub fn run(opt: Opt) -> anyhow::Result<()> {
let result = index.search(&rtxn).query(query).execute().unwrap();
let mut stdout = io::stdout();
let fields_ids_map = index.fields_ids_map(&rtxn)?.unwrap_or_default();
let fields_ids_map = index.fields_ids_map(&rtxn)?;
let documents = index.documents(&rtxn, result.documents_ids.iter().cloned())?;
for (_id, record) in documents {