Making it easier to use was exactly the goal. You should expect some
performance improvements as well as index sorting is now performed directly
by flushes and merges.
Le mer. 11 avr. 2018 à 04:33, Yonghui Zhao a écrit :
> Thanks Eric, my project only depends on lucene,
Thanks Eric, my project only depends on lucene, so I can't find classes in
solr.
Thanks Adrien, setIndexSort seems easier than before.
2018-04-10 22:56 GMT+08:00 Erick Erickson :
> I found it in .../solr/core/src/java/org/apache/solr/index/
> SortingMergePolicy.java
>
Hello,
The SortingMergePolicy was an early experiment to implement index sorting.
It has been made a first-class feature in LUCENE-6766, which you can enable
with IndexWriterConfig.setIndexSort.
Le mar. 10 avr. 2018 à 16:57, Erick Erickson a
écrit :
> I found it in
>
I found it in
.../solr/core/src/java/org/apache/solr/index/SortingMergePolicy.java
and the associated factory in
,,,/solr/core/src/java/org/apache/solr/index/SortingMergePolicyFactory.java
so I'm not sure what you're having trouble with
Best,
Erick
On Tue, Apr 10, 2018 at 4:56 AM, Yonghui
I can't find this class now? Which is replacement?
Thanks!