mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-14 07:39:05 +00:00
Dashboard + UI enhancements
This commit is contained in:
13
config.py
13
config.py
@@ -1,6 +1,7 @@
|
||||
# Do not change option names
|
||||
default_options = {
|
||||
"ThumbnailQuality": "85",
|
||||
"ThumbnailSize": "275",
|
||||
"ThumbnailSize": "272",
|
||||
"ThumbnailColor": "FF00FF",
|
||||
"TextFileContentLength": "2000",
|
||||
"PdfFileContentLength": "2000",
|
||||
@@ -11,7 +12,17 @@ default_options = {
|
||||
"FileParsers": "media, text, picture, font, pdf, docx, spreadsheet, ebook"
|
||||
}
|
||||
|
||||
# Index documents after every X parsed files (Larger number will use more memory)
|
||||
index_every = 10000
|
||||
|
||||
# See https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-ngram-tokenizer.html#_configuration_16
|
||||
nGramMin = 3
|
||||
nGramMax = 3
|
||||
elasticsearch_url = "http://localhost:9200"
|
||||
|
||||
# Password hashing
|
||||
bcrypt_rounds = 14
|
||||
# sqlite3 database path
|
||||
db_path = "./local_storage.db"
|
||||
|
||||
VERSION = "1.0a"
|
||||
|
||||
Reference in New Issue
Block a user