Skip to content

Commit

Permalink
fix: search parameters fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarmona committed Mar 13, 2019
1 parent 6840e6a commit ad095b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/Backend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad095b4

Please sign in to comment.