Package com.couchbase.lite
Class FullTextFunction
java.lang.Object
com.couchbase.lite.FullTextFunction
Full-text functions.
- 
Method Summary
Modifier and TypeMethodDescriptionstatic Expressionmatch(IndexExpression index, String query) Creates a full-text match() function with the given full-text index expression and the query textstatic ExpressionDeprecated.Use: FullTextFunction.match(IndexExpression)static Expressionrank(IndexExpression index) Creates a full-text rank function with the given full-text index expression.static ExpressionDeprecated.Use: FullTextFunction.rank(IndexExpression) 
- 
Method Details
- 
rank
Creates a full-text rank function with the given full-text index expression. The rank function indicates how well the current query result matches the full-text query when performing the match comparison.- Parameters:
 index- The full-text index expression.- Returns:
 - The full-text rank function.
 
 - 
match
Creates a full-text match() function with the given full-text index expression and the query text- Parameters:
 index- The full-text index expression.query- The query string.- Returns:
 - The full-text match() function expression.
 
 - 
rank
Deprecated.Use: FullTextFunction.rank(IndexExpression)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.
 
 - 
match
@Deprecated @NonNull public static Expression match(@NonNull String indexName, @NonNull String query) Deprecated.Use: FullTextFunction.match(IndexExpression)Creates a full-text expression with the given full-text index name and search text.- Parameters:
 indexName- The full-text index name.query- The query string.- Returns:
 - The full-text match expression
 
 
 -