You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Tony Sun (JIRA)" <ji...@apache.org> on 2016/01/05 08:02:39 UTC
[jira] [Commented] (COUCHDB-2926) Move $exists into the view query
instead of in-memory
[ https://issues.apache.org/jira/browse/COUCHDB-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15082537#comment-15082537 ]
Tony Sun commented on COUCHDB-2926:
-----------------------------------
[~nolanlawson] : Is this to address the issue where you get a "no index found" when a user does a simple selector such as
{code:json}
{"somefield" : {"$exists" : true}}?
{code}
If so, https://github.com/apache/couchdb-mango/pull/27 will address this issue.
However, I can see this change for obvious performance reasons between allDocs and views.
> 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)