8affb7c845
This is a cleanup of the fix pushed in https://github.com/elastic/elasticsearch/pull/20400. FiltersFunctionScoreQuery sub query should be extracted in CustomQueryScorer.extract (and not in CustomQueryScorer.extractUnknownQuery). This does not fix any bug in this branch (it's just a cleanup) but the intent is first to clean up and then to backport in 2.x where there is a real bug. The bug is in 2.x only because the backport of https://github.com/elastic/elasticsearch/pull/20400 in 2.x mistakenly renamed the FiltersFunctionScoreQuery to FunctionScoreQuery. This leads to incorrect highlighting on FiltersFunctionScoreQuery in 2.x. |
||
---|---|---|
.. | ||
licenses | ||
src | ||
build.gradle |