cloudant-labs/dreyfus

[RFE] List function on search index

Opened this issue · 0 comments

I don't know if this is the right place to ask, but given the tight integration Dreyfus/Clouseau provide between CouchDB/Lucene, it would be nice to somehow have list functions work with search indexes.

Something like adding these endpoints:
/db/_design/design-doc/_search_list/list-name/index-name
/db/_design/design-doc/_search_list/list-name/other-ddoc/index-name

Looking at the protocol, it seems like it wouldn't require any changes to the query server? Object passed in head and objects returned by getRow would be slightly different, but the spirit is the same. In fact many list functions designed for regular views would work unchanged (e.g., those that work on getRow().doc).

Does this seem feasible?