java.lang.Object
org.elasticsearch.index.mapper.IndexType
What type of index structure is available for this field
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexTypestatic IndexTypebooleanbooleanbooleanbooleaninthashCode()booleanbooleanbooleanbooleanhasTerms()booleanstatic IndexTypepoints(boolean isIndexed, boolean hasDocValues) static IndexTypeskippers()booleanstatic IndexTypeterms(boolean isIndexed, boolean hasDocValues) static IndexTypeterms(org.apache.lucene.document.FieldType fieldType) toString()static IndexTypevectors()
-
Field Details
-
NONE
An IndexType with no index structures or doc values
-
-
Method Details
-
hasPoints
public boolean hasPoints()- Returns:
trueif this IndexType has a Points index
-
hasPointsMetadata
public boolean hasPointsMetadata()- Returns:
trueif this IndexType has Points metadata
-
hasTerms
public boolean hasTerms()- Returns:
trueif this IndexType has an inverted index
-
hasVectors
public boolean hasVectors()- Returns:
trueif this IndexType has a vector index
-
hasDocValues
public boolean hasDocValues()- Returns:
trueif this IndexType has doc values
-
hasDocValuesSkipper
public boolean hasDocValuesSkipper()- Returns:
trueif this IndexType has a doc values skipper
-
hasOnlyDocValues
public boolean hasOnlyDocValues()- Returns:
trueif this IndexType has doc values but no index
-
hasDenseIndex
public boolean hasDenseIndex()- Returns:
trueif this IndexType has a dense index structure
-
supportsSortShortcuts
public boolean supportsSortShortcuts()- Returns:
trueif this IndexType has index structures that support sort-based early termination
-
terms
- Returns:
- an inverted-index based IndexType
-
terms
- Returns:
- a terms-based IndexType from a lucene FieldType
-
skippers
- Returns:
- an IndexType with docValuesSkippers
-
points
- Returns:
- a point-based IndexType
-
archivedPoints
- Returns:
- an IndexType representing archive data, with points metadata extracted from doc values
-
docValuesOnly
- Returns:
- an IndexType with doc values but no index
-
vectors
- Returns:
- an IndexType with a vector index
-
toString
-
equals
-
hashCode
public int hashCode()
-