cancel
Showing results for 
Search instead for 
Did you mean: 

Search AND in the fulltextindex simple/advanced search

wmay
Champ in-the-making
Champ in-the-making
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…….
3 REPLIES 3

rliu
Champ in-the-making
Champ in-the-making
Are you constructing your own Lucene query string? If so, it would help to explain what your query string looks like.

wmay
Champ in-the-making
Champ in-the-making
Hallo,

In the meantime i made some tests an i found following syntax which works for sure with Easy search and advanced search.

"+" before a word and the word must be in the document - multiple words with "+" is the logic AND - but it is not possible to use "AND" only "+" can used.
"-" before a word and the word should not be in the document - this would be the NOT but "NOT" can not be used.
a list of words without "+" or "-" means a OR search
Phrase search is possible with "…… ….."


Does anyone knows if Easy Search or Advanced Search supports additional search functions or are only these basic functions supported ?
Does nobody uses more advanced search functions with the Alfresco explorer ?

samsam
Champ in-the-making
Champ in-the-making
I need some information on "AND" operation of the advanced search in alfresco explorer. Is it possible to search content using mulitple tags(using AND operation) in explorer? If so, can you tell me how to do it?