Class AnalyzedTextField

java.lang.Object
com.atlassian.jira.search.field.AnalyzedTextField
All Implemented Interfaces:
Field, TypedField<String>

@PublicApi public final class AnalyzedTextField extends Object
Field for analyzed text
Since:
10.4
  • Method Details

    • accept

      public <T> T accept(FieldVisitor<T> visitor)
    • isConcatenated

      public boolean isConcatenated()
    • analyzer

      @Nullable public String analyzer()
    • searchAnalyzer

      @Nullable public String searchAnalyzer()
    • getValueType

      public Class<String> getValueType()
      Description copied from interface: TypedField
      The java class of the value that this field holds
      Specified by:
      getValueType in interface TypedField<String>
      Returns:
      the java class of the value that this field holds
    • get

      public List<String> get(Document document)
      Description copied from interface: TypedField
      Get field value from the document
      Returns:
      the field value
    • equals

      public boolean equals(Object o)
    • hashCode

      public int hashCode()
    • toStringBuilder

      protected org.apache.commons.lang3.builder.ToStringBuilder toStringBuilder()
    • builder

      public static AnalyzedTextField.Builder builder(String fieldName)
    • name

      public String name()
      Specified by:
      name in interface Field
    • isIndexed

      public boolean isIndexed()
      Specified by:
      isIndexed in interface Field
    • hasDocValues

      public boolean hasDocValues()
      Specified by:
      hasDocValues in interface Field
    • isStored

      public boolean isStored()
      Specified by:
      isStored in interface Field
    • isMultiValued

      public boolean isMultiValued()
      Description copied from interface: Field
      Whether the field is multiValued.
      Specified by:
      isMultiValued in interface Field
      Returns:
      boolean
    • subfields

      public List<Field> subfields()
      Specified by:
      subfields in interface Field
    • toString

      public String toString()
      Overrides:
      toString in class Object