Serializable
CachingSpanFilter
, SpanQueryFilter
public abstract class SpanFilter extends Filter
Constructor | Description |
---|---|
SpanFilter() |
Modifier and Type | Method | 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.
|
getDocIdSet
public abstract SpanFilterResult bitSpans(IndexReader reader) throws IOException
reader
- The IndexReader
to load position and DocIdSet information fromSpanFilterResult
IOException
- if there was an issue accessing the necessary informationCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.