cancel
Showing results for 
Search instead for 
Did you mean: 

Remove 3 character limit for text fields in advanced search?

alexandra
Champ on-the-rise
Champ on-the-rise
I have found that there seem to be a requirement to use at least 3 characters in some of  the text filed to do an advanced search. I would like to create a few saved searches based on a single value in one of my custom properties to be able to list all documents with value "xyz" in that particular property without having to write anything in the other fields.

Is it possible to remove that 3 character limit?

PS. Any thoughts or improving the advanced search so more advanced combinations of different properties can be done and also with operators such as contains, larger and bigger than? DS
3 REPLIES 3

mikef
Champ in-the-making
Champ in-the-making
The min number of search charaters is defined in (for Tomcat):

alfresco\WEB-INF\classes\alfresco\web-client-config.xml

You can override this in
shared\classes\alfresco\extension\web-client-config-custom.xml

Add or update the following entry:
   <config>
      <client>
             <search-minimum>3</search-minimum>
      </client>
   </config>

alexandra
Champ on-the-rise
Champ on-the-rise
Thank you!

Shouldn't that be the default configuration?

Otherwise the powerful feature of saving searches with just different set of metadata values does not work for most installations. Just as Smart Playlists in iTunes is really powerful it is powerful in an ECM-platform such as Alfresco.

alexandra
Champ on-the-rise
Champ on-the-rise
Hmm…was a bit too quick to answer before. I tried modifying that parameter in web-client-config-custom.xml but that change does not seem to "take". Neither modifications in web-client-config.xml seem to work.

I have restarted and cleaned the caches. Any ideas why it does not work?