cancel
Showing results for 
Search instead for 
Did you mean: 

Some problem about the search.

sshgz
Champ in-the-making
Champ in-the-making
1. I want to perform a search and the text field require a minimum of 3 characters, but i my input text only are 2 characters, how to change the minimum of the characters.

2. I want to search the contents which include "AAA" and "BBB" , if i input "AAA BBB" into the text field then i will search the contents which include "AAA" or "BBB", the result is not what i want to wish. How to do it?

Thanks.
4 REPLIES 4

steve
Champ in-the-making
Champ in-the-making
Hi,

If you want to do an AND search simply enter:
AAA +BBB

Hope this helps,

Steve

sshgz
Champ in-the-making
Champ in-the-making
Hi,

If you want to do an AND search simply enter:
AAA +BBB

Hope this helps,

Steve

Thanks Steve.

I can use "AAA +BBB" for my search but can't use "AAA + BBB".  I think it is well to use "AAA + BBB" rather than use "AAA +BBB".

I come from china, chinese does not use blank to compart two chinese characters, when i want to do an AND search i often enter "AAABBB".
Does the Alfresco supports it?

In the Web-Client-Config.xml, i find the set "<search-and-terms>false</search-and-terms>" , but i don't know what it means.

Thank you.

kevinr
Star Contributor
Star Contributor
The search:
AAA +BBB
is the correct form for an AND search, AAA + BBB will not work correctly.

You can configure the web-client to change the minimum search characters required. This page gives you examples on how to perform various simply web-client customisations:
http://wiki.alfresco.com/wiki/Web_Client_Customisation_Guide

The config section you want to override is:

<config>
   <client>
      <!– the minimum number of characters required for a valid search string –>
      <search-minimum>3</search-minimum>
   </client>
</config>

Thanks,

Kevin

sshgz
Champ in-the-making
Champ in-the-making
The search:
AAA +BBB
is the correct form for an AND search, AAA + BBB will not work correctly.

You can configure the web-client to change the minimum search characters required. This page gives you examples on how to perform various simply web-client customisations:
http://wiki.alfresco.com/wiki/Web_Client_Customisation_Guide

The config section you want to override is:

<config>
   <client>
      <!– the minimum number of characters required for a valid search string –>
      <search-minimum>3</search-minimum>
   </client>
</config>

Thanks,

Kevin

Thank you.