Class SearchField

  • All Implemented Interfaces:
    com.yahoo.document.fieldset.FieldSet, java.io.Serializable, java.lang.Comparable

    public class SearchField
    extends com.yahoo.document.Field
    Since:
    2010-02-19
    Author:
    baldersheim
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SearchField.Feature
      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

      Constructors 
      Constructor Description
      SearchField​(com.yahoo.document.Field field, boolean indexed, boolean attribute)  
      SearchField​(com.yahoo.document.Field field, boolean indexed, boolean attribute, java.util.List<SearchField.Feature> features)  
    • Constructor Detail

      • SearchField

        public SearchField​(com.yahoo.document.Field field,
                           boolean indexed,
                           boolean attribute)
      • SearchField

        public SearchField​(com.yahoo.document.Field field,
                           boolean indexed,
                           boolean attribute,
                           java.util.List<SearchField.Feature> features)
    • Method Detail

      • isAttribute

        public boolean isAttribute()
      • isIndexed

        public boolean isIndexed()
        True if field is Vespa indexed
        Returns:
        true if indexed