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

[FTS] Define document type for index mapping by the key prefix

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.6.0, 5.0.0
    • 4.5.0
    • fts

    Description

      A number of customers will define the document type by setting a prefix instead of setting a type field in the JSON document.

      Here are a few examples:

      #User type
      User::patrick
      User::marty
       
      #shopping basket type
      shoppingbasket::patrick
      shoppingbasket::marty
      

      The keys can be more complex such as:

      #Another way of defining a shopping basket
      User::patrick::shoppingbasket::1
      User::marty::shoppingbasket::2
      

      Attachments

        Issue Links

          Activity

            People

              mihir.kamdar Mihir Kamdar (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty