You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/08/20 16:27:05 UTC

[GitHub] [couchdb-documentation] rjharmon commented on issue #583: Generate view and query for nested dictionary in document

rjharmon commented on issue #583:
URL: https://github.com/apache/couchdb-documentation/issues/583#issuecomment-677767645


   Agree.  Would like to be able to address the values in a dictionary (object) field `items` with same selector semantics as arrays.  If we could address `items.$values` as array-like, and use $elemMatch/$allMatch on it, that would be great.  
   
   Although a map/reduce index can iterate the values and emit() items to an index (then query with startkey/endkey), accessing the same with a JSON Mango index would be tres helpful.  
   
   Alternatively: Is there any semantics/metadata that could be applied to such a view-definition, that would give Mango some kind of access to the map index, perhaps with a spoofed fieldname that can be used in Mango query?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org