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

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