Constructor DocTermOrds
DocTermOrds(AtomicReader, IBits, String)
Inverts all terms
Declaration
public DocTermOrds(AtomicReader reader, IBits liveDocs, string field)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | |
IBits | liveDocs | |
System.String | field |
DocTermOrds(AtomicReader, IBits, String, BytesRef)
Inverts only terms starting w/ prefix
Declaration
public DocTermOrds(AtomicReader reader, IBits liveDocs, string field, BytesRef termPrefix)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | |
IBits | liveDocs | |
System.String | field | |
BytesRef | termPrefix |
DocTermOrds(AtomicReader, IBits, String, BytesRef, Int32)
Inverts only terms starting w/ prefix, and only terms
whose docFreq (not taking deletions into account) is
<= maxTermDocFreq
Declaration
public DocTermOrds(AtomicReader reader, IBits liveDocs, string field, BytesRef termPrefix, int maxTermDocFreq)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | |
IBits | liveDocs | |
System.String | field | |
BytesRef | termPrefix | |
System.Int32 | maxTermDocFreq |
DocTermOrds(AtomicReader, IBits, String, BytesRef, Int32, Int32)
Inverts only terms starting w/ prefix, and only terms
whose docFreq (not taking deletions into account) is
<= maxTermDocFreq
, with a custom indexing interval
(default is every 128nd term).
Declaration
public DocTermOrds(AtomicReader reader, IBits liveDocs, string field, BytesRef termPrefix, int maxTermDocFreq, int indexIntervalBits)
Parameters
Type | Name | Description |
---|---|---|
AtomicReader | reader | |
IBits | liveDocs | |
System.String | field | |
BytesRef | termPrefix | |
System.Int32 | maxTermDocFreq | |
System.Int32 | indexIntervalBits |
DocTermOrds(String, Int32, Int32)
Subclass inits w/ this, but be sure you then call uninvert, only once
Declaration
protected DocTermOrds(string field, int maxTermDocFreq, int indexIntervalBits)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
System.Int32 | maxTermDocFreq | |
System.Int32 | indexIntervalBits |