edit the two lasts TODO comments

This commit is contained in:
Tamo 2021-09-08 18:12:10 +02:00
parent b15c77ebc4
commit bad8ea47d5
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
2 changed files with 3 additions and 2 deletions

View file

@ -229,7 +229,7 @@ impl<'t, 'u, 'i, 'a> IndexDocuments<'t, 'u, 'i, 'a> {
) = crossbeam_channel::unbounded();
// get the primary key field id
let primary_key_id = fields_ids_map.id(&primary_key).unwrap(); // TODO: TAMO: is this unwrap 100% valid?
let primary_key_id = fields_ids_map.id(&primary_key).unwrap();
// get searchable fields for word databases
let searchable_fields =