You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a meta issue to track the progress of upgrading master to Lucene 8. The branch can be found here. Below is the list of things to be changed/removed for the upgrade:
Levenstein distance renaming.
TermContext renaming (TermStates).
Collectors should implement scoreMode instead of needsScore. (@jpountz)
IndexSearcher#createNormalizedWeight has been removed. (@jpountz)
The main benefit of the upgrade for users is the search optimization for top scored documents when the total hit count is not needed. However this optimization is not activated in this change, there is another issue opened to discuss how it should be integrated smoothly.
Some comments about the change:
* Tests that can produce negative scores have been adapted but we need to forbid them completely: #33309Closes#32899
This is a meta issue to track the progress of upgrading master to Lucene 8. The branch can be found here. Below is the list of things to be changed/removed for the upgrade:
scoreMode
instead ofneedsScore
. (@jpountz)FunctionScoreQuery#boostByQuery
). (@jimczi)after effects
,BE
,D
andP
). (@jpountz)Test failures
PercolateQueryBuilder#createMultiDocumentSearcher
,PercolatorQuerySearchIT
: @jpountzFunctionScoreTests#testSimpleWeightedFunction
: produces negative scores (Forbid negative values for "weight" in Function Score Query #31927)ScriptedSimilarityTests#testBasics
,ScriptedSimilarityTests#testInit
: score is called on non-scoring clauses (to get the max score, see ImpactsDISI)FieldSubsetReaderTests#testFieldNames
,FieldSubsetReaderTests#testFieldNamesMissing
,FieldSubsetReaderTests#testFieldThreeFields
: FieldNamesTerms return invalid statistics (e.g. -1) Security for _field_names field should not override field statistics #33261TransportTwoNodesSearchIT#testDfsQueryThenFetch
,TransportTwoNodesSearchIT#testDfsQueryThenFetchWithSort
: new explanation format and message\cc @elastic/es-distributed to sync up.
The text was updated successfully, but these errors were encountered: