Annotation Type Field

    • Field Detail

      • DO_NOT_INDEX_NULL

        static final String DO_NOT_INDEX_NULL
        Deprecated.
        Default value for the indexNullAs() parameter. Indicates that null values should not be indexed.
    • Element Detail

      • name

        String name
        Deprecated.
        Returns:
        Returns the field name. Defaults to the JavaBean property name.
        Default:
        ""
      • store

        Store store
        Deprecated.
        Returns:
        Returns a Store enum type indicating whether the value should be stored in the document. Defaults to Store.NO.
        Default:
        org.hibernate.search.annotations.Store.NO
      • index

        Index index
        Deprecated.
        Returns:
        Returns a Index enum defining whether the value should be indexed or not. Defaults to Index.YES.
        Default:
        org.hibernate.search.annotations.Index.YES
      • analyze

        Analyze analyze
        Deprecated.
        Returns:
        Returns a Analyze enum defining whether the value should be analyzed or not. Defaults to Analyze.YES.
        Default:
        org.hibernate.search.annotations.Analyze.YES
      • norms

        Norms norms
        Deprecated.
        Returns:
        Returns a Norms enum defining whether the norms should be stored in the index or not. Defaults to Norms.YES.
        Default:
        org.hibernate.search.annotations.Norms.YES
      • termVector

        TermVector termVector
        Deprecated.
        Returns:
        Returns a TermVector enum defining if and how term vectors are stored. Defaults to TermVector.NO.
        Default:
        org.hibernate.search.annotations.TermVector.NO
      • analyzer

        Analyzer analyzer
        Deprecated.
        Returns:
        Returns the analyzer for the field. Defaults to the inherited analyzer. Must be empty if normalizer() is used.
        Default:
        @org.hibernate.search.annotations.Analyzer
      • normalizer

        Normalizer normalizer
        Deprecated.
        Returns:
        Returns the normalizer for the field. Defaults to none. Must be empty if analyzer() is used.
        Default:
        @org.hibernate.search.annotations.Normalizer
      • indexNullAs

        String indexNullAs
        Deprecated.
        Returns:
        Returns the value to be used for indexing null. Per default Field.NO_NULL_INDEXING is returned indicating that null values are not indexed.
        Default:
        "__DO_NOT_INDEX_NULL__"