couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-714) Support document namespaces for more efficient view generation
Date Tue, 25 Jun 2013 23:34:20 GMT


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

View raw message