Implement the clear and delete documents for the word-level-positions database

This commit is contained in:
Kerollmops
2021-03-17 15:47:41 +01:00
committed by many
parent 3069bf4f4a
commit f713828406
2 changed files with 16 additions and 0 deletions

View File

@ -56,6 +56,7 @@ impl<'t, 'u, 'i> ClearDocuments<'t, 'u, 'i> {
docid_word_positions.clear(self.wtxn)?;
word_pair_proximity_docids.clear(self.wtxn)?;
word_prefix_pair_proximity_docids.clear(self.wtxn)?;
word_level_position_docids.clear(self.wtxn)?;
facet_field_id_value_docids.clear(self.wtxn)?;
field_id_docid_facet_values.clear(self.wtxn)?;
documents.clear(self.wtxn)?;