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

LIKE and CONTAINS are much slower in 2.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.7.1
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • CBL Sprint 13
    • 2

    Description

      The LIKE and CONTAINS query operators were rewritten in 2.7 (Mercury) to support Unicode collations. Unfortunately the new code is much slower, even in uncollated mode, leading to performance regressions in queries that use these operators.

      Initial report: https://github.com/couchbase/couchbase-lite-core/issues/902

      Another report, against iOS: https://github.com/couchbase/couchbase-lite-ios/issues/2603

      LiteCore PR with a fix: https://github.com/couchbase/couchbase-lite-core/pull/903

      Attachments

        Issue Links

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

          Activity

            People

              jimb Jim Borden
              jens Jens Alfke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty