Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-714

Support document namespaces for more efficient view generation

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Database Core
    • Committers Level (Medium to Hard)

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rch Ryan Hill
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: