cancel
Showing results for 
Search instead for 
Did you mean: 

Can you search for words in the file description?

usuf
Champ in-the-making
Champ in-the-making
I am using Alf Community 3.2 on a Fedora 10 machine.
I have created an html document in Guest Home and named it the "Penske File" with a description of "This file contains the universe". The file appears when I do a basic "all files" search for "penske" & "file". However, nothing appears when I search for "contains", "universe", or "the".

My first question is: Is there a way to enable the searching of words in file descriptions?

My second question is semi-related: When you plunk a file into a space using webDav, is there a way to add a description to it?

Thanks for your help! ;D
3 REPLIES 3

steffen
Champ in-the-making
Champ in-the-making
hi,

regarding your first question:

you can extend the simple search in alfresco in the web-client-config-custom.xml . add the description as search field:

<config>
      <client>
         <search-max-results>100</search-max-results>
         <simple-search-additional-attributes>
            <qname>
               {http://www.alfresco.org/model/content/1.0}description
            </qname>    
         </simple-search-additional-attributes>
     </client>
</config>

but i konw no method how to add metadata when uploading a file by webdav. anybody else?

usuf
Champ in-the-making
Champ in-the-making
That worked great, thanks Steffen!

sselvan
Champ in-the-making
Champ in-the-making
A somewhat similar thing I am trying to do in Alfresco Share, but search on metadata field is not working.

http://forums.alfresco.com/en/viewtopic.php?f=47&t=25119

Based on the posts here, I also added the same code snippet (of web-client-config-custom.xml) like the above in web-framework-config-custom.xml OR share-config-custom.xml, but that did not help anything.

Any help is appreciated!

Thank you