| java.lang.Object org.apache.lucene.search.SpanFilterResult
SpanFilterResult | public class SpanFilterResult (Code) | | The results of a SpanQueryFilter. Wraps the BitSet and the position infomration from the SpanQuery
NOTE: This API is still experimental and subject to change.
|
Inner Class :public static class PositionInfo | |
Inner Class :public static class StartEnd | |
SpanFilterResult | public SpanFilterResult(BitSet bits, List positions)(Code) | | Parameters: bits - The bits for the Filter Parameters: positions - A List of org.apache.lucene.search.SpanFilterResult.PositionInfo objects |
getPositions | public List getPositions()(Code) | | The first entry in the array corresponds to the first "on" bit.
Entries are increasing by document order
A List of PositionInfo objects |
|
|