feat(update): disable autogenerate_docids by default

This commit is contained in:
Alexey Shekhirin 2021-04-30 21:34:29 +03:00
parent c112877a4a
commit d81c0e8bba
No known key found for this signature in database
GPG key ID: AF9A26AA133B5B98
3 changed files with 13 additions and 3 deletions

View file

@ -558,6 +558,7 @@ pub(crate) mod tests {
{ "name": "bob", "age": 20 }
]"#[..];
let mut builder = IndexDocuments::new(&mut wtxn, &index, 0);
builder.enable_autogenerate_docids();
builder.update_format(UpdateFormat::Json);
builder.execute(content, |_, _| ()).unwrap();
wtxn.commit().unwrap();