Revert "feat: add open search support"

This reverts commit 4821b77c17.
This commit is contained in:
tim
2025-09-26 15:36:31 +08:00
parent 4821b77c17
commit 69869348f6
16 changed files with 1 additions and 1008 deletions

View File

@@ -45,17 +45,6 @@ app.user.replies-limit=${USER_REPLIES_LIMIT:50}
# Length of extracted snippets for posts and search (-1 to disable truncation)
app.snippet-length=${SNIPPET_LENGTH:200}
# OpenSearch integration
opensearch.enabled=${OPENSEARCH_ENABLED:false}
opensearch.hosts=${OPENSEARCH_HOSTS:}
opensearch.username=${OPENSEARCH_USERNAME:}
opensearch.password=${OPENSEARCH_PASSWORD:}
opensearch.insecure=${OPENSEARCH_INSECURE:false}
opensearch.connect-timeout=${OPENSEARCH_CONNECT_TIMEOUT:10s}
opensearch.socket-timeout=${OPENSEARCH_SOCKET_TIMEOUT:30s}
opensearch.max-results=${OPENSEARCH_MAX_RESULTS:50}
opensearch.highlight-fallback-length=${OPENSEARCH_HIGHLIGHT_FALLBACK_LENGTH:${SNIPPET_LENGTH:200}}
# Captcha configuration
app.captcha.enabled=${CAPTCHA_ENABLED:false}
recaptcha.secret-key=${RECAPTCHA_SECRET_KEY:}