mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-13 23:29:04 +00:00
Added Media, Picture and Text file parsers
This commit is contained in:
@@ -35,8 +35,6 @@ class Indexer:
|
||||
Creates a insert string for sending to elasticsearch
|
||||
"""
|
||||
|
||||
print("Creating bulk index string...")
|
||||
|
||||
result = ""
|
||||
|
||||
action_string = '{"index":{}}\n'
|
||||
@@ -46,8 +44,6 @@ class Indexer:
|
||||
result += action_string
|
||||
result += json.dumps(doc) + "\n"
|
||||
|
||||
print(result)
|
||||
|
||||
return result
|
||||
|
||||
def index(self, docs: list, directory: int):
|
||||
|
||||
Reference in New Issue
Block a user