You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/13 22:31:41 UTC

[GitHub] [couchdb] wohali commented on issue #2124: Query says it's not using an index when it is.

wohali commented on issue #2124: Query says it's not using an index when it is.
URL: https://github.com/apache/couchdb/issues/2124#issuecomment-598957450
 
 
   Hi @oliverdain ,
   
   That'll be because the `_all_docs` index *is* what we check to see if no matching index was found. :smile: 
   
   It sounds like you'd need a special case for this Mango query where we suppress the warning when *only* the `_id` field is being used.
   
   Out of curiosity, why use the Mango API here instead of just using the `/{db}/_all_docs` endpoint?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services