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

[FTS] Bleve match_all query returns err: unknown query type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.5.0
    • 4.5.0
    • cbft
    • None
    • Untriaged
    • Yes

    Description

      Build
      4.5.0-2016, 2033

      Testcase
      ./testrunner -i INI_FILE.ini -p get-cbcollect-info=True,get-logs=False,stop-on-failure=False,cluster=D+F:F:F,GROUP=P0 -t fts.stable_topology_fts.StableTopFTS.test_match_all,items=10000,GROUP=P0

      Consistently reproducible.

      Testlog - https://gist.github.com/arunapiravi/9a13ff56f4ea788c24757407f51a8ab2

      [2016-04-07 13:06:37,912] - [fts_base:1097] INFO - Running query {"from": 0, "indexName": "default_index_1", "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {}, "level": ""}}, "query": {"match_all": {}}, "size": 10000000} on node: 172.23.107.145
      [2016-04-07 13:06:38,268] - [rest_client:757] ERROR - http://172.23.107.145:8094/api/index/default_index_1/query error 400 reason: status: 400, content: rest_index: Query, indexName: default_index_1, requestBody: {"from": 0, "indexName": "default_index_1", "fields": [], "explain": false, "ctl": {"timeout": 60000, "consistency": {"vectors": {}, "level": ""}}, "query": {"match_all": {}}, "size": 10000000}, req: &http.Request{Method:"POST", URL:(*url.URL)(0xc8203a4080), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Content-Length":[]string{"193"}, "Content-Type":[]string{"application/json"}, "Authorization":[]string{"Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA=="}, "Accept":[]string{"*/*"}, "User-Agent":[]string{"Python-httplib2/$Rev: 259 $"}, "Accept-Encoding":[]string{"identity"}}, Body:(*http.body)(0xc82260d5c0), ContentLength:193, TransferEncoding:[]string(nil), Close:false, Host:"172.23.107.145:8094", Form:url.Values{}, PostForm:url.Values{}, MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"172.23.107.140:60354", RequestURI:"/api/index/default_index_1/query", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil)}, err: bleve: QueryBlevePIndexImpl remote client returned status: 400 body: rest_index: QueryPIndex, pindexName: default_index_1_62211a241d144f2f_9e13fa43, requestBody: {"ctl":{"timeout":59496,"consistency":{"level":"","vectors":{}}},"query":{"boost":1},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false}, req: &http.Request{Method:"POST", URL:(*url.URL)(0xc820261580), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"User-Agent":[]string{"Go-http-client/1.1"}, "Content-Length":[]string{"169"}, "Authorization":[]string{"Basic QGZ0cy1jYmF1dGg6YjJiMTdhZjk3NWM1ZWNiZGM2YzhhZTBkMzQ0OWQxZWI="}, "Content-Type":[]string{"application/json"}, "Accept-Encoding":[]string{"gzip"}}, Body:(*http.body)(0xc8224929c0), ContentLength:169, TransferEncoding:[]string(nil), Close:false, Host:"172.23.107.234:8094", Form:url.Values{}, PostForm:url.Values{}, MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"172.23.107.145:46354", RequestURI:"/api/pindex/default_index_1_62211a241d144f2f_9e13fa43/query", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil)}, err: bleve: BleveDest.Query parsing searchRequest, req: {"ctl":{"timeout":59496,"consistency":{"level":"","vectors":{}}},"query":{"boost":1},"size":10000000,"from":0,"highlight":null,"fields":[],"facets":null,"explain":false}, err: unknown query type
      

      Attachments

        For Gerrit Dashboard: MB-19119
        # Subject Branch Project Status CR V

        Activity

          People

            apiravi Aruna Piravi (Inactive)
            apiravi Aruna Piravi (Inactive)
            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