Marklogic: Data do not comply with query
问题 Environment: NodeJS client, Marklogic 8 server. The query from NodeJS is: var query = qb.where( qb.directory('/root/dir/'), qb.scope( qb.property('sources'), qb.value('brand','MyBrand') ) ); The translated query is: { "whereClause": { "query": { "queries": [ { "directory-query": { "uri": [ "/root/dir/" ] } }, { "container-query": { "json-property": "sources", "value-query": { "json-property": "brand", "text": [ "MyBrand" ] } } } ] } }, "queryType": "structured", "queryFormat": "json" } The