HI all,

I have explored the different Features on ML-6 Rest API.

I have a small requirement where i will be using strcuturedQuery with
element-value-query.
I want to search my results based on the particular element which i tried
using below.

*http://localhost/v1/search?structuredQuery=*
* {"query":*
*{"element-value-query":*
*  {"element-name":"name of the element",*
*"text":["some value"]}}}&collection=collectionname&format=xml*
*
*
Above query should search for the element with particular value but its
giving all the results in database.

Can anyone help me in achieving this or how we can use structured query
with any cts:query.

Thanks,
Manoj.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to