mirror of
https://github.com/simon987/od-database.git
synced 2025-12-13 23:09:01 +00:00
fixed navbar icon for mobile
This commit is contained in:
@@ -67,7 +67,7 @@ def index_file_list(path: str, website_id):
|
||||
|
||||
es = ElasticSearchEngine("od-database")
|
||||
with open(path, "r") as f:
|
||||
es.import_json(f.read(), website_id)
|
||||
es.import_json(f.readlines(), website_id)
|
||||
|
||||
|
||||
def search(term=""):
|
||||
@@ -92,7 +92,7 @@ def make_wide_filesystem(count=100000):
|
||||
|
||||
|
||||
# dump_local_filesystem("/mnt/")
|
||||
# index_file_list("random_dump.json", 1000)
|
||||
index_file_list("local_filesystem.json", 4)
|
||||
# random_searches(100000)
|
||||
# dump_random_files(20000 * 100000)
|
||||
make_wide_filesystem(10000)
|
||||
# make_wide_filesystem(10000)
|
||||
|
||||
Reference in New Issue
Block a user