java.lang.Object
org.apache.lucene.index.FieldInfos
org.elasticsearch.index.codec.FieldInfosWithUsages
- All Implemented Interfaces:
Iterable<org.apache.lucene.index.FieldInfo>
public class FieldInfosWithUsages
extends org.apache.lucene.index.FieldInfos
-
Field Summary
Fields inherited from class org.apache.lucene.index.FieldInfos
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcomputeUsages(org.apache.lucene.index.FieldInfo[] infos) intMethods inherited from class org.apache.lucene.index.FieldInfos
fieldInfo, fieldInfo, getIndexedFields, getMergedFieldInfos, getParentField, getSoftDeletesField, hasDocValues, hasFreq, hasNorms, hasOffsets, hasPayloads, hasPointValues, hasPostings, hasProx, hasVectors, hasVectorValues, iterator, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FieldInfosWithUsages
public FieldInfosWithUsages(org.apache.lucene.index.FieldInfo[] infos)
-
-
Method Details
-
computeUsages
public static int computeUsages(org.apache.lucene.index.FieldInfo[] infos) -
getTotalUsages
public int getTotalUsages()
-