Class IndexSchema.IndexField
- java.lang.Object
-
- com.yahoo.searchdefinition.derived.IndexSchema.IndexField
-
- Enclosing class:
- IndexSchema
public static class IndexSchema.IndexField extends java.lang.Object
Representation of an index field with name and data type.
-
-
Constructor Summary
Constructors Constructor Description IndexField(java.lang.String name, Index.Type type, com.yahoo.document.DataType sdFieldType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanIndexDefinition
getBooleanIndexDefinition()
java.lang.String
getCollectionType()
java.lang.String
getName()
Index.Type
getRawType()
Index.Type
getSdType()
The user set index typejava.lang.String
getType()
boolean
hasPhrases()
boolean
hasPositions()
boolean
hasPrefix()
void
setIndexSettings(Index index)
boolean
useInterleavedFeatures()
-
-
-
Constructor Detail
-
IndexField
public IndexField(java.lang.String name, Index.Type type, com.yahoo.document.DataType sdFieldType)
-
-
Method Detail
-
setIndexSettings
public void setIndexSettings(Index index)
-
getName
public java.lang.String getName()
-
getRawType
public Index.Type getRawType()
-
getType
public java.lang.String getType()
-
getCollectionType
public java.lang.String getCollectionType()
-
hasPrefix
public boolean hasPrefix()
-
hasPhrases
public boolean hasPhrases()
-
hasPositions
public boolean hasPositions()
-
useInterleavedFeatures
public boolean useInterleavedFeatures()
-
getBooleanIndexDefinition
public BooleanIndexDefinition getBooleanIndexDefinition()
-
getSdType
public Index.Type getSdType()
The user set index type- Returns:
- the type
-
-