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

2017-06-21 Thread Ranganath B N
: RE: Correction: SpanNearQuery Class issue through spans object (Not through Searcher.search() method) 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 I

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

2017-06-20 Thread Allison, Timothy B.
org Subject: Re: Correction: SpanNearQuery Class issue through spans object (Not through Searcher.search() method) 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

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

SpanNearQuery Class issue

2017-06-19 Thread Ranganath B N
Hi, This is regarding the search limit of SpanNearQuery Class. I create a lucene index consisting of 2 billion documents and search the index using SpanNearQuery class object in Searcher.search(Query query, int n). But the search method returns Results only if search terms are withi

Re: SpanNearQuery Class issue

2017-06-16 Thread Erick Erickson
Hmmm, now I can add crore to lakh as a unit of counting 2B documents in a single core is right at the limit that Lucene can handle. Since internal IDs are ints, that's the limit. And deleted documents that haven't been merged away count as well. So if you're saying you have 2B docs in a singl

SpanNearQuery Class issue

2017-06-16 Thread Ranganath B N
Hi, This is regarding the search limit of SpanNearQuery Class. I create a lucene index consisting of 2 billion documents and search the index using SpanNearQuery class object in Searcher.search(Query query, int n). But the search method returns Results only if search terms are withi