Alexander Shorin created COUCHDB-2609:
-----------------------------------------

             Summary: function_clause on explain mango index
                 Key: COUCHDB-2609
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2609
             Project: CouchDB
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Mango
            Reporter: Alexander Shorin


{code}
$ curl -XPOST 'http://localhost:16984/test/_explain' -d '{"selector": {"foo": 
{"$gt": "bar"}}}'
{"error":"unknown_error","reason":"function_clause","ref":616973802}
{code}

Logs:
{code}
2015-02-21 18:06:53.041 [error] [email protected] <0.5028.0> req_err(616973802) 
unknown_error : function_clause
    [<<"ddoc_cache:open/2 L82">>,<<"mango_idx:list/1 
L54">>,<<"mango_cursor:create/3 L34">>,<<"mango_crud:explain/3 
L105">>,<<"mango_httpd:handle_explain_req/2 L126">>,<<"mango_httpd:handle_req/2 
L28">>,<<"chttpd:handle_request/1 L210">>,<<"mochiweb_http:headers/5 L93">>]
2015-02-21 18:06:53.041 [error] [email protected] <0.5028.0> httpd 500 error 
response:
 {"error":"unknown_error","reason":"function_clause","ref":616973802}

2015-02-21 18:06:53.042 [notice] [email protected] <0.5028.0> cd1e539d 127.0.0.1 
localhost:16984 POST /test/_explain 500 ok 4
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to