[ 
https://issues.apache.org/jira/browse/COUCHDB-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15836491#comment-15836491
 ] 

Norbert Nemec commented on COUCHDB-2926:
----------------------------------------

I thought so too, but then realized that this only works for $exists:true. On 
$exists:false, an index cannot be used. Not sure what is the best way to handle 
this situation...

> Move $exists into the view query instead of in-memory
> -----------------------------------------------------
>
>                 Key: COUCHDB-2926
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2926
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Mango
>            Reporter: Garren Smith
>
> $exists is in-memory - this is totally unnecessary. if you can do $gt: null 
> on an indexed field, then you should be able to do $exists: true because it's 
> exactly the same thing



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

Reply via email to