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

fts searches do not work in sample app v2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • docs
    • None
    • node version v5.7.0
      Couchbase Server 4.6.0-3573 Enterprise Edition (build-3573)

    Description

      When running the v2 sample app branch and doing a full text search, I don't get results.  In the UI, it's just {} or an object containing "error": {}.

      ```

      ingenthr-mbp:~ ingenthr$ curl -i http://localhost:8080/api/hotel/golf/Paris/
      HTTP/1.1 500 Internal Server Error
      X-Powered-By: Express
      Access-Control-Allow-Origin: *
      Content-Type: application/json; charset=utf-8
      Content-Length: 12
      ETag: W/"c-VHHShDjz8bQoSM6ONj/ccg"
      Date: Wed, 08 Feb 2017 08:22:36 GMT
      Connection: keep-alive

      {"error":{}}ingenthr-mbp:~ ingenthr$ curl -i http://localhost:8080/api/hotel/golf/
      HTTP/1.1 404 Not Found
      X-Powered-By: Express
      Access-Control-Allow-Origin: *
      X-Content-Type-Options: nosniff
      Content-Type: text/html; charset=utf-8
      Content-Length: 28
      Date: Wed, 08 Feb 2017 08:22:44 GMT
      Connection: keep-alive

      Cannot GET /api/hotel/golf/

      ```

       

      Attachments

        1. log.out
          8 kB
          Matt Ingenthron
        2. log-with-couchbase_2.3.0.out
          8 kB
          Matt Ingenthron

        Issue Links

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

          Activity

            People

              brett19 Brett Lawson
              ingenthr Matt Ingenthron
              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