I'm running into an issue with the FunctionScoreQuery and would appreciate some clarification of the query behavior.
Say I'm running a function_score
query with size=100. The actual query
matches 101 documents. How many times will the function be applied?
(a) 100 times, i.e. only on the first size=100
matches
(b) 101 times, i.e. on all matches
I've observed behavior that suggests the answer is (a).
If so, is there any way to configure the query to actually do (b), i.e., execute the function on all of the matches.
Thanks,
Alex