couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carlosduclos <>
Subject [GitHub] couchdb-nano issue #27: Support for mango index creation
Date Fri, 17 Mar 2017 13:59:38 GMT
GitHub user carlosduclos opened an issue:

    Support for mango index creation

    [Original issue](
    Related to #dscape/nano/329
    To create mango indices to query on, you have to POST http://couchdb/dbname/_index. This
isn't possible right now, since nano's insert changes the method to PUT if a document ID is
    A temporary workaround is to call the relax method directly, but a better long term solution
would be if nano added support for mango index creation.
    Something like this might work:
    const couch = nano(url)
    couch.use(db).mango.createIndex({ ... }, err => {
      // handle err



If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message