简体   繁体   中英

MarkLogic 8 - XQuery - cts query to find document property by value

Is there a way to find documents with a specific property value in the document properties ?

Follow-up question, are the document properties indexed?

(Properties meaning the xdmp:document-add-properties() kind)

You can wrap arbitrary queries in cts:properties-fragment-query() to scope those queries to match only document properties. And, yes, document properties are indexed .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM