Skip to content

Commit

Permalink
Fixed compiling samples
Browse files Browse the repository at this point in the history
  • Loading branch information
anti-social committed Nov 15, 2021
1 parent 30b6645 commit 0ad467e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/src/main/kotlin/samples/code/SearchQuery.kt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fun queryNode() {
UserDoc.rank,
missing = 1.0F,
factor = 2.0,
modifier = "sqrt",
modifier = FunctionScore.FieldValueFactor.Modifier.LN1P
)
),
scoreMode = FunctionScore.ScoreMode.SUM,
Expand Down

0 comments on commit 0ad467e

Please sign in to comment.