You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I go about creating indexes? I naively tried to put a json doc in a dir called "_index", it's not picked up. I tried to pushdocs that dir, but it failed on a missing _rev key while attempting to GET it as a regular doc.
The text was updated successfully, but these errors were encountered:
A colleague figured it out. Indexes are stored in a design document. So you can add a design doc just as you would normally in couchapp, in the _design dir. Name it Indexes:
How would I go about creating indexes? I naively tried to put a json doc in a dir called "_index", it's not picked up. I tried to
pushdocs
that dir, but it failed on a missing_rev
key while attempting toGET
it as a regular doc.The text was updated successfully, but these errors were encountered: