public final class FullTextFunction extends Object
Modifier and Type | Method and Description |
---|---|
static Expression |
match(String indexName,
String text)
Creates a full-text expression with the given full-text index name and search text.
|
static Expression |
rank(String indexName)
Creates a full-text rank function with the given full-text index name.
|
@NonNull public static Expression match(@NonNull String indexName, @NonNull String text)
indexName
- The full-text index name.text
- The search text@NonNull public static Expression rank(@NonNull String indexName)
indexName
- The index name.