Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-57657

[Trinity Reverify] N1QL+FTS SEARCH queries to be allowed over indexes with non-overlapping analyzer definitions

    XMLWordPrintable

Details

    • 1

    Description

      Here's the scenario:

      • Should the field be indexed with a custom analyzer within the FTS index.
      • Allow a SEARCH function where the query is a match query over the field with a different analyzer.

      Consistency will be guaranteed when the index is covering or not - since the analyzer context will be available during verification.

      Note that if a custom analyzer is defined, the index name should be provided in the options of the SEARCH argument to obtain the the index mapping.

      Additionally, it is perhaps good to drop the constraint that non-analytic queries require the keyword analyzer usage in definition and leave this up to the user to provide context correctly for the validation phase in case of non-covering indexes for queries. So that's essentially removing the restriction put in place with MB-39592.

      Attachments

        Issue Links

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

          Activity

            People

              sarthak.dua Sarthak Dua
              abhinav Abhi Dangeti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty