Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
3.1.0, Beryllium
-
.NET, iOS, Java, Java-Android
-
Security Level: Public
-
0
Description
FullTextFunction's rank(String indexName) and match(String indexName, String query) of the QueryBuilder API are deprecated. Use FullTextFunction's rank(IndexExpression index) and match(IndexExpression index, String query) instead. To create a full-text IndexExpression object to use with the new rank() and match() function, use Expression.fullTextIndex(String name).
Deprecated APIs
Java / Android
- static Expression rank(@NonNull String indexName)
- static Expression match(@NonNull String indexName, @NonNull String query)
Swift
- static func rank(_ indexName: String) -> ExpressionProtocol
- static func match(indexName: String, query: String) -> ExpressionProtocol
Objective-C (CBLQueryFullTextFunction)
- + (CBLQueryExpression*) rank: (NSString*)indexName
- + (CBLQueryExpression*) matchWithIndexName: (NSString*)indexName query: (NSString*)query
.NET
- static IExpression Rank(string indexName)
- static IExpression Match(string indexName, string query)