Skip to content

Commit

Permalink
#1161 Adds "search.weightMultiplier" configuration option which allow…
Browse files Browse the repository at this point in the history
…s to increase the importance of phrase matches (i.e., cases where all query terms appear in close proximity)
  • Loading branch information
extracts committed Dec 5, 2023
1 parent dd9fe84 commit fc12f0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions application/configs/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fc12f0c

Please sign in to comment.