List of usage examples for org.apache.lucene.search.spans SpanCollector collectLeaf
public void collectLeaf(PostingsEnum postings, int position, Term term) throws IOException;
From source file:nl.inl.blacklab.MockSpans.java
License:Apache License
@Override public void collect(SpanCollector collector) throws IOException { collector.collectLeaf(postings, -1, null); }
From source file:nl.inl.blacklab.MyTermSpans.java
License:Apache License
@Override public void collect(SpanCollector collector) throws IOException { collector.collectLeaf(postings, position, term); }