From fc12f0ca9b77f88ef70f5197b3d6b30b284de565 Mon Sep 17 00:00:00 2001 From: Matthias Steffens Date: Tue, 5 Dec 2023 21:36:22 +0100 Subject: [PATCH] #1161 Adds "search.weightMultiplier" configuration option which allows to increase the importance of phrase matches (i.e., cases where all query terms appear in close proximity) --- application/configs/application.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/configs/application.ini b/application/configs/application.ini index edcfa9389..40e48c963 100644 --- a/application/configs/application.ini +++ b/application/configs/application.ini @@ -249,6 +249,10 @@ search.simple.title_additional = 1 search.simple.title_parent = 1 search.simple.title_sub = 1 +; multiplier (integer >0) to further increase field-specific boost factors (and thus the importance +; of matches) when matching phrases (i.e., in cases where all query terms appear in close proximity) +search.weightMultiplier = 5 + ;DOCTYPE VALIDATION SCHEMA FILE ; TODO determine path dynamically (does this belong into the framework) documentTypes.xmlSchema = APPLICATION_PATH "/vendor/opus4-repo/framework/library/Opus/Document/documenttype.xsd"