Example usage for Java org.apache.lucene.index OrdinalMap fields, constructors, methods, implement or subclass
The text is from its open source code.
long | ramBytesUsed |
OrdinalMap | build(IndexReader.CacheKey owner, SortedDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of each SortedDocValues instance as a weight. |
OrdinalMap | build(IndexReader.CacheKey owner, SortedSetDocValues[] values, float acceptableOverheadRatio) Create an ordinal map that uses the number of unique values of each SortedSetDocValues instance as a weight. |
LongValues | getGlobalOrds(int segmentIndex) Given a segment number, return a LongValues instance that maps segment ordinals to global ordinals. |
long | getValueCount() Returns the total number of unique terms in global ord space. |