Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-665

searchexecutor.js query() does not get indexName from options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0.1
    • 3.0.0-beta.1, 3.0.0-beta.2, 3.0.0
    • library
    • None
    • 1

    Description

      searchexecutor.js query() has index name hard-coded to 'test', does not get indexName from options. After the lineĀ 
      queryObj.indexName = 'test';
      add:
      if (options.indexName !== undefined)

      { queryObj.indexName = options.indexName; }

      Attachments

        Activity

          People

            brett19 Brett Lawson
            michael.reiche Michael Reiche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty