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/14 00:03:53 UTC

[GitHub] [couchdb] wohali commented on issue #2124: Mango: do not warn about missing index when only _id is being selected against

wohali commented on issue #2124: Mango: do not warn about missing index when only _id is being selected against
URL: https://github.com/apache/couchdb/issues/2124#issuecomment-598977953
 
 
   Hey @oliverdain , thanks for writing back.
   
   Technically, what you're saying still requires a main index if you don't have a direct index that includes both `_id` and `other_field`. What I think would be the best compromise here is that the user can safely ignore the warning - but IMO the warning should still be generated. Adding more logic in that part of the code could slow down all requests, something we'd really prefer not to do.
   
   To me, this feels like a documentation callout - if you'd like to open a PR in https://github.com/apache/couchdb-documentation and explain that the warning can be safely ignored in this scenario, I'd be happy to merge that.

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