Re: [EXTERNAL] - Re: Is docvalue sorted by value?

2018-03-06 Thread Tony Ma
Thanks Erick!! Index sorting and early termination is what I am looking for. On 3/6/18, 11:33 PM, "Erick Erickson" wrote: OK, you're asking a different question I think. See SOLR-5730 and SOLR-8621, particularly SOLR-5730. This will work only a single

Re: [EXTERNAL] - Re: Is docvalue sorted by value?

2018-03-06 Thread Erick Erickson
OK, you're asking a different question I think. See SOLR-5730 and SOLR-8621, particularly SOLR-5730. This will work only a single field which you decide at index time. You can still sort by any field at the same expense as now, but since your docs are ordered by one field the early termination

Near real time search in Lucene 7.2.0

2018-03-06 Thread Kumar, Santosh
Hi All, I am new to Lucene API and need help with below issues: * How to achieve near real time search in Lucene v 7.2.0. ? I have seen examples of having one indexWriter open for entire application life cycle and invoking indexWriter. getReader() and reader.reopen(). But, these no longer