AnsweredAssumed Answered

Search on an 'attachment' return parent content

Question asked by ribz33 on Oct 27, 2007
Latest reply on Oct 29, 2007 by andy
Hi,

i make an attachment aspect, like this :

    <aspect name="project:attachments">
     <title>Attachment</title>
     <description>Content attachement</description>
         <associations>
            <child-association name="project:attachment">
               <source>
                   <mandatory>false</mandatory>
                   <many>false</many>
               </source>
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
               <duplicate>false</duplicate>              
            </child-association>
         </associations>                       
    </aspect>

All is working well, except with search…
When i do search, i have child content in results.

I don't want to have child (attachment) in search, but only parent.
Is there a way to configure it ?

Thx in advance.

Best regards.

Outcomes