0
votes

I am using search:search API for searching in Marklogic.

I want to form a cts element query as given below

cts:element-query(fn:QName("element-name"), cts:and-query(()))

What would be the search options configuration (constraints) to form cts query as mentioned above.

1

1 Answers

3
votes

If it is a top-level constraint, how about passing it as the additional query (an option for search:search)