couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Davies (JIRA)" <>
Subject [jira] Commented: (COUCHDB-446) allow list function and view function to be in different design docs.
Date Mon, 17 Aug 2009 10:06:14 GMT


Jason Davies commented on COUCHDB-446:

Is there another use case for having separate design documents, aside from being able to use
different languages for a view and a list?

An alternative solution would be to allow a per-view/list language override, not sure how
messy that would be in the query server handling, but it avoids the problem of design docs
living on different nodes.  But there may be other use cases that this patch solves too.

> allow list function and view function to be in different design docs.
> ---------------------------------------------------------------------
>                 Key: COUCHDB-446
>                 URL:
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Database Core
>            Reporter: Mark Hammond
>             Fix For: 0.10
>         Attachments: x_doc_list.patch, x_doc_list_jan.patch
> There has been some discussion on #couchdb how it might be desirable to use a list function
where the list and the view are in separate documents.  Among the use-cases is so a list and
view can use different languages.
> I'm attaching a patch which extends the URL syntax for list views - before my patch,
the last portion of the path must be a view name.  My patch allows for the existing behaviour,
or for the tail to be 2 elements - another design document name *and* the view name.  Includes
a test.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message