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 int
computeUsages
(org.apache.lucene.index.FieldInfo[] infos) int
Methods inherited from class org.apache.lucene.index.FieldInfos
fieldInfo, fieldInfo, getIndexedFields, getMergedFieldInfos, getParentField, getSoftDeletesField, hasDocValues, hasFreq, hasNorms, hasOffsets, hasPayloads, hasPointValues, hasPostings, hasProx, hasTermVectors, hasVectorValues, iterator, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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()
-