cancel
Showing results for 
Search instead for 
Did you mean: 

simple search using meta-data (title, author)

bvsoest
Champ in-the-making
Champ in-the-making
Hi,
I'm trying to get the Alfresco's simple search to find documents based on meta-data like title and author. I modified contentModel.xml and re-started Alfresco. Still not working! Hope you can help me with this one.
Regards, Berno.


      <aspect name="cm:titled">
         <title>Titled</title>
         <properties>
            <property name="cm:title">
               <title>Title</title>
               <type>d:mltext</type>
          <!– 20070510 BeSo Enabled indexing on title –>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>true</tokenised>
               </index>
            </property>
            <property name="cm:description">
               <title>Description</title>
               <type>d:mltext</type>
            </property>
         </properties>
      </aspect>
3 REPLIES 3

kevinr
Star Contributor
Star Contributor
By default the Simple Search only finds items based on cm:name and full-text. However I recently commited a change (from an external contributor) that allows the configuration of additional attributes in simple search:
http://issues.alfresco.com/browse/AWC-452

It will be in the nightly build, HEAD code or you can wait for 2.1 release if you prefer.

Thanks,

Kevin

bvsoest
Champ in-the-making
Champ in-the-making
Thanks Kevin,

Would configuring extra attibutes for simple search work the way I tried to in contentModel.xml?

Thanks, Berno

kevinr
Star Contributor
Star Contributor
No you have not configured them to be used in simple search by default (which is not possible from contentModel.xml) just to ensure that they are indexed etc.

Thanks,

Kevin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.