You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Garren Smith (JIRA)" <ji...@apache.org> on 2016/05/10 14:39:13 UTC

[jira] [Created] (COUCHDB-3014) Regex query not working on _all_docs

Garren Smith created COUCHDB-3014:
-------------------------------------

             Summary: Regex query not working on _all_docs
                 Key: COUCHDB-3014
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3014
             Project: CouchDB
          Issue Type: Bug
          Components: Mango
            Reporter: Garren Smith


If I create a selector like:

selector: {
  _id: {$regex: /1/}
}

I get the error 
{"status":400,"name":"invalid_operator","message":"Missing JSON list of 'docs'","reason":"Invalid operator: $regex"}

With mango now defaulting to _all_docs if it cannot find an index I would think is should be able to handle this query.



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