Interface SearchStats
- All Known Implementing Classes:
SearchContextStats,SearchStats.EmptySearchStats
public interface SearchStats
Interface for determining information about fields in the index.
This is used by the optimizer to make decisions about how to optimize queries.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordWhen there are no search stats available, for example when there are no search contexts, we have static results. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongcount()longcount(FieldAttribute.FieldName field) longcount(FieldAttribute.FieldName field, org.apache.lucene.util.BytesRef value) booleanexists(FieldAttribute.FieldName field) booleanbooleanbooleanbooleanbyte[]max(FieldAttribute.FieldName field, DataType dataType) byte[]min(FieldAttribute.FieldName field, DataType dataType)
-
Field Details
-
EMPTY
-
-
Method Details
-
exists
-
isIndexed
-
hasDocValues
-
hasExactSubfield
-
count
long count() -
count
-
count
-
min
-
max
-
isSingleValue
-