You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/customising/server-configuration/_index.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -863,6 +863,33 @@ elasticIndex: {
863
863
// The indexes are created with the following pattern: `${indexNamePrefix}-${index.handle}-index`
864
864
indexNamePrefix:'your-company-local',
865
865
866
+
// {{< added-in "release-2024-05" >}}
867
+
// By default content is indexed using a german analyzer and language specific fields are not enabled.
868
+
// Please configure the indexSettings for improved search accuracy and exact word matching.
869
+
indexSettings: {
870
+
// Enable language agnostic indexing and exact phrase matching using quoted search terms.
871
+
// Once enabled, the document language is inferred
872
+
// - by either a {{< a title="li-language" ref="/reference/document/metadata/plugins/li-language.md" >}} metadata property on a document
873
+
// - or as fallback using the {{< a title="settings.languages.defaultLanguage" ref="/reference/project-config/settings.md#defaultLanguage" >}} ProjectConfig property
874
+
useLanguageSpecificFields:true,
875
+
876
+
// Configure German compound word decomposition for better search results.
877
+
// Breaks up compound words using a dictionary and hyphenation patterns.
878
+
// When changing this config, the elasticsearch index needs to be recreated completely.
879
+
// Note: `useLanguageSpecificFields` must also be enabled when `germanDecompounder` is configured.
880
+
//
881
+
// Attention:
882
+
// The config files need to be deployed in the config directory
883
+
// of the Elasticsearch Instance, not within the Livingdocs server directory.
884
+
germanDecompounder: {
885
+
enabled:true,
886
+
// Path to the German decompounder dictionary
887
+
dictionary:'decompounder/dictionary-de.txt',
888
+
// Path to the German hyphenation patterns file
889
+
hyphenation:'decompounder/de_DR.xml'
890
+
}
891
+
},
892
+
866
893
// The concurrency defines how many requests the livingdocs-server is doing
0 commit comments