nickva commented on PR #4792:
URL: https://github.com/apache/couchdb/pull/4792#issuecomment-2418112383

   I liked @rnewson's idea of a very simple/predictable view that uses the 
selector syntax instead of javascript so tried this: 
https://github.com/apache/couchdb/pull/5310. It's even simpler than proposed, 
as it just uses the `_design/.../_view/...` pattern that we know (and love?).
   
   As for this particular PR, I think it's fine. We already got `_find` with 
it's good/bad parts, so adding more control over index selection seem 
reasonable.
   
   As for the future of `_find`, it's hard to say. Will we get a super-duper 
query planner like Postgres? Probably not any time soon. But I could see adding 
incremental improvements such as being able to merge two or more indexes to get 
the `$or` working properly (we already merge index results in fabric anyway!), 
so wouldn't like to preemptively neuter _find just yet.
   
   Anyway just my $0.02.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to