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 through getspans method of Spanweight object created from SpanNearQuery object. Then I get the matching documents by iterating through spans.nextdoc(). But searching through spans object returns results only if search terms are within first 6 crore inserted documents. Am I missing anything during initialization so that search is getting restricted or is this a limitation issue with SpanNearQuery Class? I am using Apache lucene 6.5.0 version. Please let me know about this since I am using this for a critical project? Thanks, Ranganath B. N.