org.springframework.data.mongodb.core.index

Annotation Type TextIndexed

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      float weight
      Defines the significance of the filed relative to other indexed fields.
    • Element Detail

      • weight

        public abstract float weight
        Defines the significance of the filed relative to other indexed fields. The value directly influences the documents score.
        Defaulted to 1.0.
        Returns:
        Default:
        1.0f