AnsweredAssumed Answered

Query for Custom Metadata

Question asked by donalith on May 7, 2012
Latest reply on May 14, 2012 by mitpatoliya
I've created a custom metadata tag called documentStamp and it keeps a text value.

If I search by @cm\:created: [date range] my result set contains 9 documents. Each of those documents has a documentStamp value.
For example:

name: "{http://www.mycompany.com/documentmanagementsystem/model/dictionary/0.9}documentStamp"
value: "00126354382"

But when I try to run:

Query query = new Query(Constants.QUERY_LANG_LUCENE, "@cm\\:documentStamp: \"00126354382\"" I get an empty result set.

What do I need to run to hit these custom metadata tags?

Outcomes