Package com.yahoo.vespa.documentmodel
Class SearchField
java.lang.Object
com.yahoo.vespa.objects.FieldBase
com.yahoo.document.Field
com.yahoo.vespa.documentmodel.SearchField
- All Implemented Interfaces:
com.yahoo.document.fieldset.FieldSet
,Comparable<com.yahoo.document.Field>
public class SearchField
extends com.yahoo.document.Field
- Author:
- baldersheim
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
This is a representation of features to generate for this field. -
Field Summary
Fields inherited from class com.yahoo.document.Field
dataType, fieldId
-
Constructor Summary
ConstructorDescriptionSearchField
(com.yahoo.document.Field field, boolean indexed, boolean attribute) SearchField
(com.yahoo.document.Field field, boolean indexed, boolean attribute, List<SearchField.Feature> features) -
Method Summary
Methods inherited from class com.yahoo.document.Field
calculateIdV7, clone, compareTo, contains, equals, getDataType, getId, hasForcedId, hashCode, setDataType, setId, toString
Methods inherited from class com.yahoo.vespa.objects.FieldBase
getName
-
Constructor Details
-
SearchField
public SearchField(com.yahoo.document.Field field, boolean indexed, boolean attribute) -
SearchField
public SearchField(com.yahoo.document.Field field, boolean indexed, boolean attribute, List<SearchField.Feature> features)
-
-
Method Details
-
setIndexed
-
setAttribute
-
isAttribute
public boolean isAttribute() -
isIndexed
public boolean isIndexed() -
addFeature
-