[ 
https://issues.apache.org/jira/browse/COUCHDB-3014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Garren Smith resolved COUCHDB-3014.
-----------------------------------
    Resolution: Fixed

This is now working.

> 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)

Reply via email to