Delete and clear data from the new database

This commit is contained in:
f3r10 2022-10-12 06:28:36 -05:00 committed by ManyTheFish
parent d97fb6117e
commit b216ddba63
2 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> {
word_position_docids,
field_id_word_count_docids,
word_prefix_position_docids,
script_language_docids,
facet_id_f64_docids,
facet_id_string_docids,
facet_id_exists_docids,
@ -82,6 +83,7 @@ impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> {
word_position_docids.clear(self.wtxn)?;
field_id_word_count_docids.clear(self.wtxn)?;
word_prefix_position_docids.clear(self.wtxn)?;
script_language_docids.clear(self.wtxn)?;
facet_id_f64_docids.clear(self.wtxn)?;
facet_id_exists_docids.clear(self.wtxn)?;
facet_id_string_docids.clear(self.wtxn)?;

View File

@ -243,6 +243,7 @@ impl<'t, 'u, 'i> DeleteDocuments<'t, 'u, 'i> {
facet_id_string_docids: _,
field_id_docid_facet_f64s: _,
field_id_docid_facet_strings: _,
script_language_docids,
facet_id_exists_docids,
documents,
} = self.index;