Hi,
LUCENE-6766 allows to define index sorting on IndexWriterConfig instead of
defining a SortingMergePolicy. However, the new index sorting only supports
some types of sort fields, and the old SortingMergePolicy, which didn't
have this limitation, has been removed.
What should do projects depend
Unfortunately, as of LUCENE-6766, index sorting only supports simple sort
types. This was needed because Lucene needs to be able to easily serialize
and de-serialize the sort order into the index.
Can you compute your sort criteria and index it as a doc values field and
then sort by that?
Or, pa
Ok! I will open an issue in JIRA then.
On Saturday, August 13, 2016 3:26 PM, Adrien Grand wrote:
The explanation makes sense, I think you're right. Even though I don't
think this optimization would be used often, it would certainly help
performance when it is used.
Le sam. 13 août 2016 à 12:21