public abstract class SpanFilter extends Filter
| Constructor and Description |
|---|
SpanFilter() |
| Modifier and Type | Method and Description |
|---|---|
abstract SpanFilterResult |
bitSpans(IndexReader reader)
Returns a SpanFilterResult with true for documents which should be permitted in
search results, and false for those that should not and Spans for where the true docs match.
|
getDocIdSetpublic abstract SpanFilterResult bitSpans(IndexReader reader) throws IOException
reader - The IndexReader to load position and DocIdSet information fromSpanFilterResultIOException - if there was an issue accessing the necessary information