AnsweredAssumed Answered

Search content with associations

Question asked by cybermakoki on Dec 22, 2009
Good morning all :)

I'm trying to search content with associated documents. I want to use a lucene search but i don't know how, right now i've done the following query:

var query = "TYPE:\"dm:note\" AND ASSOCTYPEQNAME :\"{extension.dom}associatedDoc\"";

My content model looks like this:


<type name="dm:note">
         <property name="dm:type">
         <association name="dm:associatedDoc">

I want to get content only if it has associated documents…

any idea?