Autofocus, autorefresh

This commit is contained in:
2025-09-30 14:33:48 -05:00
parent 97cb5a6e3e
commit 2af690ee15
7 changed files with 27 additions and 19 deletions

View File

@@ -71,6 +71,9 @@ class InventorySearch:
taskinfo = self.add_document(i)
return taskinfo
def delete_document(self, docid):
return self.idxref.delete_document(docid)
def update_filterables(self, filterables: list):
"""Update filterable attributes and wait for database to fully index. If the filterable attributes matches the
current attributes in the database, don't update (saves reindexing).