Thanks you are right!
I think there's a bug in your code: this line:
doc.doc <= leaf.docBase + leaf.reader().maxDoc())
should be < not <=.
Mike McCandless
http://blog.mikemccandless.com
On Thu, Dec 28, 2017 at 6:15 AM, 291699763 <291699...@qq.com> wrote:
> Lucene version:6.6.0
>
> when Index
> document.add(ne
Lucene version:6.6.0
when Index
document.add(new BinaryDocValuesField("CBID.CCID", new BytesRef(myValue)));
and when search
int totalHits = indexSearcher.count(SpanNearQuery);
int from = 0;
int size = 1;
int pageTime = 0;
int loadTime = 0;
Set fieldsT