Skip to content

Commit

Permalink
Use randomScore instead of randomReproducible
Browse files Browse the repository at this point in the history
With this commit we align our benchmarks with
elastic/elasticsearch#40186 which has removed the function
`randomReproducible` and added a new function `randomScore`.

Relates elastic/elasticsearch#40186
  • Loading branch information
danielmitterdorfer committed Apr 1, 2019
1 parent 6366ea4 commit a75d42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geonames/operations/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
"match_all": {}
},
"script": {
"source": "randomReproducible(Long.toString(doc['_seq_no'].value), 100)"
"source": "randomScore(100, '_seq_no')"
}
}
}
Expand All @@ -293,4 +293,4 @@
"name": "large_prohibited_terms",
"operation-type": "search",
"param-source": "prohibited-terms-query-source"
}
}

0 comments on commit a75d42a

Please sign in to comment.