cancel
Showing results for 
Search instead for 
Did you mean: 

lucene search in node browser

andrepra
Champ in-the-making
Champ in-the-making
How can I test lucene search on a property in node browser UI? I tried with

@cm\:title:"My Doc*"

but found no documents. Obviusly I had a document titled "My Doc"

thanks
3 REPLIES 3

andy
Champ on-the-rise
Champ on-the-rise
Hi

Lucene does not support wild cards in phrase queries.
This is something we intend to add.

In the mean time you could use:


+@cm\:title:my +@cm\:title:doc*

This will not find preserve the ordering of the words.
It will also find "Document my".

Regards

Andy

emmy
Champ in-the-making
Champ in-the-making
Hi,
I have tried on a property of the node using node browser UI in this way:

@cm\:name:Clien*
but found no results.

If I tried in this way

@cm\:name:Clienti
found 1 result.

Does not support Lucene these searches?

Regards,
Emanuela

andy
Champ on-the-rise
Champ on-the-rise
Hi

This method searches against tokens - these are lower cased ….so you need to lowercase your tokens ….



@cm\:name:clien*
@cm\:name:clienti

See http://wiki.alfresco.com/wiki/Search

Regards

Andy