Annotation Interface SearchIndex


@Retention(RUNTIME) @Target({METHOD,TYPE,ANNOTATION_TYPE}) @Documented public @interface SearchIndex
Annotation to specify the Full-Text Search (FTS) index name for a repository method or entity class.

When placed on a repository method, it indicates that the method should use the specified FTS index. When placed on an entity class, it provides the default FTS index name for all search operations on that entity.

Since:
6.2
Author:
Emilien Bevierre
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the FTS index to use.
  • Element Details

    • value

      String value
      The name of the FTS index to use.