QueryBuilder : FullTextFunction's rank(String index) and match(String index, String query) are deprecated

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)

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Assignee

Reporter

Labels

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug
Created March 14, 2023 at 3:13 AM
Updated March 18, 2024 at 7:00 PM
Instabug