|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.lucene.search.SpanFilterResult
public class SpanFilterResult
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.
| Nested Class Summary | |
|---|---|
static class |
SpanFilterResult.PositionInfo
|
static class |
SpanFilterResult.StartEnd
|
| Constructor Summary | |
|---|---|
SpanFilterResult(java.util.BitSet bits,
java.util.List positions)
Deprecated. Use SpanFilterResult(DocIdSet, List) instead |
|
SpanFilterResult(DocIdSet docIdSet,
java.util.List positions)
|
|
| Method Summary | |
|---|---|
java.util.BitSet |
getBits()
Deprecated. Use getDocIdSet() |
DocIdSet |
getDocIdSet()
Returns the docIdSet |
java.util.List |
getPositions()
The first entry in the array corresponds to the first "on" bit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpanFilterResult(java.util.BitSet bits,
java.util.List positions)
SpanFilterResult(DocIdSet, List) instead
bits - The bits for the Filterpositions - A List of SpanFilterResult.PositionInfo objects
public SpanFilterResult(DocIdSet docIdSet,
java.util.List positions)
docIdSet - The DocIdSet for the Filterpositions - A List of SpanFilterResult.PositionInfo objects| Method Detail |
|---|
public java.util.List getPositions()
public java.util.BitSet getBits()
getDocIdSet()
public DocIdSet getDocIdSet()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||