Class Terms
Access to the terms in a specific field. See Fields.
@lucene.experimental
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class Terms : object
Constructors
Name | Description |
---|---|
Terms() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Fields
Name | Description |
---|---|
EMPTY_ARRAY | Zero-length array of Terms. |
Properties
Name | Description |
---|---|
Comparer | Return the IComparer<BytesRef> used to sort terms
provided by the iterator. This method may return |
Count | Returns the number of terms for this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account. NOTE: This was size() in Lucene. |
DocCount | Returns the number of documents that have at least one term for this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account. |
HasFreqs | Returns true if documents in this field store per-document term frequency (Freq). |
HasOffsets | Returns |
HasPayloads | Returns |
HasPositions | Returns |
SumDocFreq | Returns the sum of DocFreq for all terms in this field, or -1 if this measure isn't stored by the codec. Note that, just like other term measures, this measure does not take deleted documents into account. |
SumTotalTermFreq | Returns the sum of TotalTermFreq for all terms in this field, or -1 if this measure isn't stored by the codec (or if this fields omits term freq and positions). Note that, just like other term measures, this measure does not take deleted documents into account. |
Methods
Name | Description |
---|---|
GetIterator(TermsEnum) | Returns an iterator that will step through all
terms. This method will not return |
Intersect(CompiledAutomaton, BytesRef) | Returns a TermsEnum that iterates over all terms that
are accepted by the provided
CompiledAutomaton. If the
NOTE: the returned TermsEnum cannot seek . |