AnsweredAssumed Answered

Search AND in the fulltextindex simple/advanced search

Question asked by wmay on Jul 22, 2009
Latest reply on Oct 13, 2011 by samsam
How can i search with AND in the full text index of the simple / advanced search - when i try to search the search is always done with OR independent if AND is used or not.

The Alfresco documentation and help and the Alfresco books speaks from a "Google style query syntax" but when you look to the Google help for search it is defined that the default is not OR but it is AND and that it is not necessary to add AND …..

The OR operator
Google's default behaviour is to consider all the words in a search. If you want to specifically allow either one of several words, you can use the OR operator (note that you have to type 'OR' in ALL CAPS). For example, [ San Francisco Giants 2004 OR 2005 ] will give you results about either one of these years, whereas [ San Francisco Giants 2004 2005 ] (without the OR) will show pages that include both years on the same page. The symbol | can be substituted for OR. (The AND operator, by the way, is the default, so it is not needed.)
http://www.google.com/support/websearch/bin/answer.py?answer=136861

Is the full text search function of the Alfresco Explorer (simple / advanced search) based on this syntax from the Alfresco documentation ? or not ? On which syntax is it based ? on this ? http://wiki.alfresco.com/wiki/Full_Text_Search_Query_Syntax
Which search functions are supported / which are not supported ?
How can i search with AND like: big AND yellow AND banana ?
Is a grouping supported like (big OR large) AND banana  ?

Thank you for your help - because search is important for such a system…….

Outcomes