public class SpanFilterResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SpanFilterResult.PositionInfo |
static class |
SpanFilterResult.StartEnd |
| Constructor and Description |
|---|
SpanFilterResult(BitSet bits,
List positions)
Deprecated.
Use
SpanFilterResult(DocIdSet, List) instead |
SpanFilterResult(DocIdSet docIdSet,
List positions) |
| Modifier and Type | Method and Description |
|---|---|
BitSet |
getBits()
Deprecated.
Use
getDocIdSet() |
DocIdSet |
getDocIdSet()
Returns the docIdSet
|
List |
getPositions()
The first entry in the array corresponds to the first "on" bit.
|
public SpanFilterResult(BitSet bits, List positions)
SpanFilterResult(DocIdSet, List) insteadbits - The bits for the Filterpositions - A List of SpanFilterResult.PositionInfo objectspublic SpanFilterResult(DocIdSet docIdSet, List positions)
docIdSet - The DocIdSet for the Filterpositions - A List of SpanFilterResult.PositionInfo objectspublic List getPositions()
public BitSet getBits()
getDocIdSet()public DocIdSet getDocIdSet()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.