AnsweredAssumed Answered

adding cm:title to simple search

Question asked by ruudruud on Jan 26, 2011
Hi,

We have some metadata in the cm:title field that we want to search using the simple search field. The Alfresco-wiki pointed us towards web-client-config-custom.xml so we've modified it to this.


<config>
      <client>
         <from-email-address>xxxxxxxxxxxxxxx</from-email-address>
         <search-max-results>100</search-max-results>
      <edit-link-type>webdav</edit-link-type>
      <breadcrumb-mode>location</breadcrumb-mode>
      <simple-search-additional-attributes>
            <qname>{http://www.alfresco.org/model/content/1.0}title</qname>
         </simple-search-additional-attributes>
      </client>
</config>

But it won't work! Searching lucene with this code does work however!

@\{http\://www.alfresco.org/model/content/1.0\}title:'Test"

What am I missing??

[edit]
Adding it to web-client-config.xml does the trick. But I don't want to edit that file. I only want to edit the custom.xml file….

Outcomes