Annotation Type ScaledNumberField

    • Element Detail

      • name

        String name
        Returns:
        The name of the index field.
        Default:
        ""
      • decimalScale

        int decimalScale
        Returns:
        How the scale of values should be adjusted before indexing as a fixed-precision integer. A positive decimalScale will shift the decimal point to the right before rounding to the nearest integer and indexing, effectively retaining that many digits after the decimal place in the index. Since numbers are indexed with a fixed number of bits, this increase in precision also means that the maximum value that can be indexed will be smaller. A negative decimalScale will shift the decimal point to the left before rounding to the nearest integer and indexing, effectively setting that many of the smaller digits to zero in the index. Since numbers are indexed with a fixed number of bits, this decrease in precision also means that the maximum value that can be indexed will be larger.
        Default:
        2147483647
      • indexNullAs

        String indexNullAs
        Returns:
        A value used instead of null values when indexing.
        See Also:
        GenericField.indexNullAs()
        Default:
        "__HibernateSearch_indexNullAs_default"
      • extraction

        ContainerExtraction extraction
        Returns:
        A definition of container extractors to be applied to the property allowing the binding of a value bridge to container elements. By default, Hibernate Search will try to apply a set of extractors for common container types.
        See Also:
        GenericField.extraction()
        Default:
        @org.hibernate.search.mapper.pojo.extractor.mapping.annotation.ContainerExtraction