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

Choose fields for dynamic index

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 4.6.2, 5.0.0
    • 4.6.2, 5.0.0
    • query
    • None

    Description

      cc Asif Kazi Keshav Murthy

      Allow users to choose fields / expressions for dynamic index. In addition to

      PAIRS( SELF )
      

      allow users to specify

      PAIRS( { field1, field4, field9, ... } )
       
      SELECT ... WHERE field1 > 5 AND ( field4 = "foo" OR field9 < 20 ) ...;
      

      Only the chosen fields will be indexed, and queries will use the correct dynamic index.

      Attachments

        Issue Links

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

          Activity

            People

              Prerna.Manaktala Prerna Manaktala (Inactive)
              gerald Gerald Sangudi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty