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 2017/01/20 08:37:26 UTC

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

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

Garren Smith closed COUCHDB-3014.
---------------------------------

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