Update Elasticsearch configuration and increase max_result_window; bump application version to 0.0.9
This commit is contained in:
parent
2928577477
commit
4096873705
1 changed files with 15 additions and 14 deletions
|
@ -11,6 +11,21 @@ import time
|
|||
import logging
|
||||
from logging.config import dictConfig
|
||||
|
||||
from logging.config import dictConfig
|
||||
import multiprocessing
|
||||
from src.core.index import index_files, get_progress, is_file_indexed, are_files_indexed
|
||||
from io import StringIO
|
||||
import sys
|
||||
import re
|
||||
from markdown_it import MarkdownIt
|
||||
from functools import lru_cache
|
||||
from threading import Lock
|
||||
# Application version
|
||||
APP_VERSION = "0.0.9 (2025 Apr 6th)"
|
||||
|
||||
# Configuration constants
|
||||
ITEMS_PER_PAGE = int(os.environ.get("ITEMS_PER_PAGE", 50)) # Default items per page
|
||||
|
||||
# Configure logging to suppress verbose Elasticsearch logs
|
||||
dictConfig({
|
||||
'version': 1,
|
||||
|
@ -45,20 +60,6 @@ dictConfig({
|
|||
}
|
||||
}
|
||||
})
|
||||
from logging.config import dictConfig
|
||||
import multiprocessing
|
||||
from src.core.index import index_files, get_progress, is_file_indexed, are_files_indexed
|
||||
from io import StringIO
|
||||
import sys
|
||||
import re
|
||||
from markdown_it import MarkdownIt
|
||||
from functools import lru_cache
|
||||
from threading import Lock
|
||||
# Application version
|
||||
APP_VERSION = "0.0.9 (2025 Apr 6th)"
|
||||
|
||||
# Configuration constants
|
||||
ITEMS_PER_PAGE = int(os.environ.get("ITEMS_PER_PAGE", 50)) # Default items per page
|
||||
|
||||
app = Flask(__name__, static_folder='static')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue