willholley commented on PR #4710:
URL: https://github.com/apache/couchdb/pull/4710#issuecomment-1737462585
@rnewson https://github.com/apache/couchdb/pull/4710#issuecomment-1735317072.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to
willholley commented on PR #4710:
URL: https://github.com/apache/couchdb/pull/4710#issuecomment-1737168382
I agree with changing the behavior of `use_index`, but I'm less keen on
overloading it to removing the use of the `_all_docs` index. There are
legitimate reasons to use `_all_docs`
willholley commented on PR #4710:
URL: https://github.com/apache/couchdb/pull/4710#issuecomment-1731563627
`$regex` gets converted into an `$exists: true` predicate for index
selection, so an index can be used to optimize it in some cases, though it's
still going to be a range scan on
willholley commented on PR #4710:
URL: https://github.com/apache/couchdb/pull/4710#issuecomment-1715940637
> Rather than an additional request body parameter to /db/_find, perhaps we
could add the index to the url path, but still end in _find? The request and
response body stay in 'find'
willholley commented on PR #4710:
URL: https://github.com/apache/couchdb/pull/4710#issuecomment-1661679783
Appreciating the difficulties with augmenting existing endpoints, I think
it's worth considering adding "selector" and "fields" support to the
existing _all_docs, view and search