mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-18 00:41:22 -04:00
Do not remove stopwords by default
Keeping the stop words leads to slightly bigger indexes but fixes chopped up highlights of search results and phrase accuracy during search.
This commit is contained in:
1 parent
8a83eea742
commit
dea306247b
2 files changed
+2
-1
No files matched your search
@@ -2426,6 +2426,7 @@ def opencloudServer(storage = "decomposed", depends_on = [], deploy_type = "", e
|
||||
environment["FRONTEND_FULL_TEXT_SEARCH_ENABLED"] = True
|
||||
environment["SEARCH_EXTRACTOR_TYPE"] = "tika"
|
||||
environment["SEARCH_EXTRACTOR_TIKA_TIKA_URL"] = "http://tika:9998"
|
||||
environment["SEARCH_EXTRACTOR_TIKA_CLEAN_STOP_WORDS"] = True
|
||||
environment["SEARCH_EXTRACTOR_CS3SOURCE_INSECURE"] = True
|
||||
|
||||
if watch_fs_enabled:
|
||||
|
||||
@@ -50,7 +50,7 @@ func DefaultConfig() *config.Config {
|
||||
CS3AllowInsecure: false,
|
||||
Tika: config.ExtractorTika{
|
||||
TikaURL: "http://127.0.0.1:9998",
|
||||
CleanStopWords: true,
|
||||
CleanStopWords: false,
|
||||
},
|
||||
},
|
||||
Events: config.Events{
|
||||
|
||||
Reference in new issue
Block a user