Re: SortingMergePolicy is removed in 7.2.1?

2018-04-11 Thread Adrien Grand
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,

Re: SortingMergePolicy is removed in 7.2.1?

2018-04-10 Thread Yonghui Zhao
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 >

Re: SortingMergePolicy is removed in 7.2.1?

2018-04-10 Thread Adrien Grand
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 >

Re: SortingMergePolicy is removed in 7.2.1?

2018-04-10 Thread Erick Erickson
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

SortingMergePolicy is removed in 7.2.1?

2018-04-10 Thread Yonghui Zhao
I can't find this class now? Which is replacement? Thanks!