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)