[
https://issues.apache.org/jira/browse/COUCHDB-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693495#comment-13693495
]
Alexander Shorin commented on COUCHDB-714:
------------------------------------------
Partially, this could be done by using COUCHDB-1373 feature. Each node has his
own custom suffix and there is some view, that emits rows by their node uuid
suffix. To easily split suffix from other _id part, it's possible to have it
with leading marker character like `@my-local-couch-ns`.
> Support document namespaces for more efficient view generation
> ---------------------------------------------------------------
>
> Key: COUCHDB-714
> URL: https://issues.apache.org/jira/browse/COUCHDB-714
> Project: CouchDB
> Issue Type: New Feature
> Components: Database Core
> Reporter: Ryan Hill
> Labels: namespaces, view
>
> I would like to suggest a new, possibly optional, reserved attribute to
> specify a namespace for documents. Design documents with this attribute
> ('_ns' perhaps) would only consider documents with the same namespace during
> view generation.
> Obviously, separating documents into several nodes is a workable alternative,
> but keeping docs in the same node, with namespaces, would preserve the
> ability to use the 'include_docs by _id' feature.
> There may also be cause to include a _namespaces document for mapping
> namespace names to URIs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira