Dixit Singla
Dixit Singla

Reputation: 2620

how to Configure search:search options to create cts element query having second parameter as cts-and query with empty sequence?

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

Answers (1)

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

Upvotes: 3

Related Questions