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

FTS indexing an array-valued property is unreliable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.7.0
    • LiteCore
    • Security Level: Public
    • CBL Sprint 3, CBL Sprint 4
    • 8

    Description

      https://github.com/couchbase/couchbase-lite-core/issues/772

      FromĀ this forum thread, it appears an FTS index on an array-of-strings property sort of works but not reliably. The post implies that this works correctly on Server.

      My hunch is that the FTS indexer is being given the raw Fleece form of the property. The strings are in there, but surrounded by binary stuff, so at a minimum the first and last word of every string probably won't be indexed...

      Attachments

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

        Activity

          Build couchbase-lite-android-2.7.0-131 contains couchbase-lite-core commit 2acc92f with commit message:
          CBL-218 Make FTS indexes work on array properties (#841)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.7.0-131 contains couchbase-lite-core commit 2acc92f with commit message: CBL-218 Make FTS indexes work on array properties (#841)

          Build couchbase-lite-ios-2.7.0-39 contains couchbase-lite-core commit 2acc92f with commit message:
          CBL-218 Make FTS indexes work on array properties (#841)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-2.7.0-39 contains couchbase-lite-core commit 2acc92f with commit message: CBL-218 Make FTS indexes work on array properties (#841)

          Build couchbase-lite-net-2.7.0-45 contains couchbase-lite-core commit 2acc92f with commit message:
          CBL-218 Make FTS indexes work on array properties (#841)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-net-2.7.0-45 contains couchbase-lite-core commit 2acc92f with commit message: CBL-218 Make FTS indexes work on array properties (#841)

          Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit 2acc92f with commit message:
          CBL-218 Make FTS indexes work on array properties (#841)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-log-2.7.0-79 contains couchbase-lite-core commit 2acc92f with commit message: CBL-218 Make FTS indexes work on array properties (#841)

          Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit 2acc92f with commit message:
          CBL-218 Make FTS indexes work on array properties (#841)

          build-team Couchbase Build Team added a comment - Build couchbase-lite-cblite-2.7.0-5 contains couchbase-lite-core commit 2acc92f with commit message: CBL-218 Make FTS indexes work on array properties (#841)

          People

            jimb Jim Borden
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty