Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4310

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

    XMLWordPrintable

Details

    • 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)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            The Lite The Lite
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty