Mayya Sharipova created LUCENE-9384:
---------------------------------------
Summary: Backport for the field sort optimization of LUCENE-9280
Key: LUCENE-9384
URL: https://issues.apache.org/jira/browse/LUCENE-9384
Project: Lucene - Core
Issue Type: Task
Affects Versions: 8.x
Reporter: Mayya Sharipova
Field sort optimization implemented in LUCENE-9280 is based on an assumption
that if a numeric field is indexed with both doc values and points, the *same
data* is stored in these points and doc values. While there is a plan in
LUCENE-9334 to enforce this consistency from Lucene 9.0, there is nothing in
Lucene 8.x to enforce this assumption.
Thus in order to backport the sort optimization to 8.x, we need to make a user
to explicitly opt in for it. This could be done by either:
* introducing a special SortField (e.g. DocValuesPointSortField) that will use
optimization
* introduce a bool parameter to a SortField which when true will indicate that
the sort optimization should be enabled (e.g. SortField("my_field",
SortField.Type.LONG, true))
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]