-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(docs
): amend description of use_index
on /{db}/_find
#4774
Conversation
The discussion in #4710 is ongoing with advocates for fixing I think we'll need a vote on it to decide. |
@rnewson please note that I have included references to the commit history to support that the way The bug here is that the documentation has not been updated. Also, it happened a while (7 years) ago and independently of this was a good design decision or not, it is now part of CouchDB and there may be integrations on that work under these assumptions. Especially that after the expected change CouchDB would immediately start emitting HTTP 400s instead of HTTP 200s in those scenarios. How would this work out in a multi-version cluster? In #4710 I was proposing ways to change the behavior of |
@pgj I think we're all confused. I appreciate you checking through historical comments. To resolve this I think it needs to move to the dev@ mailing list. Is this something you are comfortable doing? I'm happy to do it in your stead otherwise. If you wish to proceed, I suggest a |
Yes, I am happy to discuss that on |
I think no longer needed. |
Excellent. |
The semantics of Mango's `use_index` query parameter has changed over time but this has not been reflected in the documentation, which causes a lot of confusion. The `use_index` parameter was introduced in 1b0426a to force the index selection to a specific index. Unfortunately, this did not work out well in practice, so 743bd88 added a fallback mechanism to make it less brittle. With that, `use_index` became only a "hint" not an "instruction".
fc0c1dc
to
38aaea0
Compare
Thanks @rnewson ! |
The semantics of Mango's
use_index
query parameter has changed over time but this has not been reflected in the documentation, which causes a lot of confusion.The
use_index
parameter was introduced in 1b0426a to force the index selection to a specific index. Unfortunately, this did not work out well in practice, so 743bd88 added a fallback mechanism to make it less brittle. With that,use_index
became only a "hint" not an "instruction".