Class FullTextFunction


  • public final class FullTextFunction
    extends Object
    Full-text function.
    • Method Detail

      • match

        @NonNull
        public static Expression match​(@NonNull
                                       String indexName,
                                       @NonNull
                                       String text)
        Creates a full-text expression with the given full-text index name and search text.
        Parameters:
        indexName - The full-text index name.
        text - The search text
        Returns:
        The full-text match expression
      • rank

        @NonNull
        public static Expression rank​(@NonNull
                                      String indexName)
        Creates a full-text rank function with the given full-text index name. The rank function indicates how well the current query result matches the full-text query when performing the match comparison.
        Parameters:
        indexName - The index name.
        Returns:
        The full-text rank function.