serhiy-bzhezytskyy opened a new pull request, #178:
URL: https://github.com/apache/solr-orbit/pull/178
A converted `function_score` became `q=*:*`, so the operation matched every
document with a constant score and measured none of the scoring. A
`function_score` whose query is `match_all` (or absent) and that has a single
`field_value_factor` (any modifier) or a `gauss`, `exp` or `linear` decay on a
geo point now becomes `{!func}` with the same function. With `match_all` every
document scores 1, so `boost_mode` does not change the result. Anything else
(several functions, `weight`, `missing`, numeric or date decays, a scoring
inner query) stays untranslated with the existing warning.
Each form was compared with OpenSearch on the same geonames documents, score
by score: the ten modifiers, `gauss` and `exp` agree to a relative 1.4e-06 or
better, and `linear` to an absolute 1.7e-07. For geonames' two operations the
converter now writes what solr-orbit-workloads ships, and over 300 documents
each its scores match OpenSearch's to 1.4e-07 (`field_value_factor`) and
3.3e-06 (`gauss`). The new tests fail without the change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]