org.apache.lucene.search
Class SpanFilterResult
- java.lang.Object
-
- org.apache.lucene.search.SpanFilterResult
-
public class SpanFilterResult extends java.lang.ObjectThe results of a SpanQueryFilter. Wraps the BitSet and the position infomration from the SpanQuery NOTE: This API is still experimental and subject to change.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classSpanFilterResult.PositionInfostatic classSpanFilterResult.StartEnd
-
Constructor Summary
Constructors Constructor and Description SpanFilterResult(java.util.BitSet bits, java.util.List positions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.BitSetgetBits()java.util.ListgetPositions()The first entry in the array corresponds to the first "on" bit.
-
-
-
Constructor Detail
-
SpanFilterResult
public SpanFilterResult(java.util.BitSet bits, java.util.List positions)- Parameters:
bits- The bits for the Filterpositions- A List ofSpanFilterResult.PositionInfoobjects
-
-
DataMelt 3.0 © DataMelt by jWork.ORG