-
I understand that
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I am wondering if any couchdb developers can comment on my above questions? thanks |
Beta Was this translation helpful? Give feedback.
-
@nickva, thank you so much for your comments, really helpful for me to understand the primary use cases of couchdb's indices.
the type of JSON documents I am working on can have various levels of depths. These documents are currently hosted on a CouchDB server, with a web interface for browsing. You can see a few examples here https://neurojson.org/db/openneuro/ds000001 I am trying to aggregate some information from these JSON-encoded metadata sets. For example, for one of the needs, I am trying to extract a special annotation tag I already wrote a design document script that manually traverse the top 2-3 levels. Now I understood that recursion is not possible, I will further extend my explicit traversal code to handle 4-5 levels. It should capture most of those tags. |
Beta Was this translation helpful? Give feedback.
-
I wonder how if |
Beta Was this translation helpful? Give feedback.
Maybe others can correct me, but I don't think that's possible. It's the kind of stuff you could do in the map/reduce view if you process the document with a javascript function