From ad095b40353a35fd0075a3d257611c2f2a99be82 Mon Sep 17 00:00:00 2001 From: Miguel C Date: Wed, 13 Mar 2019 16:20:14 +0000 Subject: [PATCH] fix: search parameters fine-tuning --- app/models/Backend.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/Backend.scala b/app/models/Backend.scala index 5e26975..b7036c2 100644 --- a/app/models/Backend.scala +++ b/app/models/Backend.scala @@ -148,9 +148,9 @@ class Backend @Inject()(@NamedDatabase("default") protected val dbConfigProvider functionScoreQuery( matchQuery("mixed_field", stoken) .fuzziness("10") - .maxExpansions(10) - .prefixLength(1) - .operator("AND") + .maxExpansions(20) + .prefixLength(0) + .operator("OR") ).scorers(fieldFactorScore("num_assoc_loci"). factor(1.2) .missing(1D)