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

[FTS] Add indexing filters on keys

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      Enable a regular expression on the key / id to define the type of a document, or otherwise select / exclude documents to index by specifying a regular expression. Related to MB-17846

      Customer stores older versions of "product::” documents using a version suffix on the key (e.g. “products::A:1“) and a per document ":id” document to keep track of the next version numbers.

      Customer doesn't want to index the older versions of the products.

      This can be done using the “advanced filter” feature in the XDCR transport between CB and ElasticSearch to index only the most recent versions of “product::” documents.

      This is accomplished by using a regular expression that encodes the form of keys that are valid for indexing.

      Request: make it possible to specify document type by providing a reg-ex key pattern. This would mean “any document with a key matching this regex has type X.”

      Attachments

        Issue Links

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

          Activity

            People

              will.gardella Will Gardella (Inactive)
              will.gardella Will Gardella (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty