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

Include key-name (meta().id) in INFER analysis

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • Morpheus
    • 5.5.0
    • query, query_tools
    • None

    Description

      A recent sit-down with a customer highlighted the desire to include the key names (meta().id) when looking for commonality across flavors.

       

      A simple description of the use case: 

      A few different flavors of documents in a bucket, and using a key-name prefix to identify each one:

      • "user::<user_name>" for user profile documents
      • "order::<order_id>" for order documents
      • etc

      Now, in the document editor, I just see a long list of these and I might want to filter down to a particular type using the key name...let's assume I just have a primary index so can't actually do a reasonably timed query on type or other embedded field.

       

      If the INFER output (and therefore the QWB insights) showed me that one flavor of document all shared a common key prefix ("user::xxx") then I could use that to understand my key naming scheme.

      Attachments

        Issue Links

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

          Activity

            People

              pierre.regazzoni Pierre Regazzoni
              perry Perry Krug
              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