Reputation: 2620
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.
Upvotes: 0
Views: 63
Reputation: 7770
If it is a top-level constraint, how about passing it as the additional query (an option for search:search)
Upvotes: 3