cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene query, ALL vs TEXT

silenr0c
Champ in-the-making
Champ in-the-making
Hi All,

I am trying to search in alfresco all my property that contains certain text exclude content, for example
TEXTSmiley Saddisposition AND placement AND private)

NOTE: my node is html file

from information that I got from following(http://wiki.alfresco.com/wiki/Search)
You can also use the TEXT field - this accumulates a broad full text search over all d:content type properties of the node. So to find nodes that have the word "lazy" in any content property:

I am assuming that it will search all the property exclude the content, however it also search the content.
And I didn't find any different if I'm using ALL
ALLSmiley Saddisposition AND placement AND private)

Am I right to say that TEXT = ALL
or, ALL search property + content, TEXT search property only ?

Thanks
2 REPLIES 2

kaynezhang
World-Class Innovator
World-Class Innovator
ALL Search all properties (include content ) ,TEXT only search content.
If you want to search  all properties that contains certain text exclude content properties,you can do it like this
+ALL:lazy AND -TEXT:lazy 

silenr0c
Champ in-the-making
Champ in-the-making
Hi Kaynezhang,

Thanks for your help, it really does make sense Smiley Happy