mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-13 15:19:05 +00:00
Added thumbnail generator
This commit is contained in:
@@ -53,9 +53,7 @@ class Indexer:
|
||||
def index(self, docs: list, directory: int):
|
||||
print("Indexing " + str(len(docs)) + " docs")
|
||||
index_string = Indexer.create_bulk_index_string(docs, directory)
|
||||
print("bulk-start")
|
||||
self.es.bulk(body=index_string, index=self.index_name, doc_type="file", refresh="true")
|
||||
print("bulk-done")
|
||||
|
||||
def clear(self):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user