About delete document issue in Lucene 6.3.0

2017-06-20 Thread Reno Rayan
Hi, One of our customer is using our product that is built on Lucene 6.3.0. His usage is such that there are add/update/delete document operations on an Lucene index. He was able to perform this operations without any issues. But today he complains that a delete operation is not working. There is

RE: Correction: SpanNearQuery Class issue through spans object (Not through Searcher.search() method)

2017-06-20 Thread Allison, Timothy B.
As an example of Mikhail's suggestion: https://github.com/tballison/lucene-addons/blob/master/lucene-5317/src/main/java/org/apache/lucene/search/concordance/charoffsets/SpansCrawler.java If you are trying to build a concordance, see ConcordanceSearcher in that package. See examples on how to ru

Re: Correction: SpanNearQuery Class issue through spans object (Not through Searcher.search() method)

2017-06-20 Thread Mikhail Khludnev
Hello Ranganath, I guess you need to loop through LeafReaderContexts, create scorer/span for them to get to 7th crore and beyond. On Tue, Jun 20, 2017 at 10:59 AM, Ranganath B N wrote: > Hi, > > > This is regarding the search limit of SpanNearQuery Class. I create > a lucene index consis

Correction: SpanNearQuery Class issue through spans object (Not through Searcher.search() method)

2017-06-20 Thread Ranganath B N
Hi, This is regarding the search limit of SpanNearQuery Class. I create a lucene index consisting of 2 billion documents . Then obtain a spans object throughgetspans method of Spanweight object created from SpanNearQuery object. Then I get the matching documents by i