cancel
Showing results for 
Search instead for 
Did you mean: 

[Solved] Lucene Query By File Name

fandez
Champ in-the-making
Champ in-the-making
Hi :
I'm using Lucene node search to test some queries in Alfresco UI.
My problem is that I don't know how to "ask" for a filename.
I'm launching this query +PARENT:"workspace://SpacesStore/296d7518-d5cb-11de-ae35-7b53a9e4fcd7" and it finds every single file I have in that folder, but when I add the clause +NAME:"MY_FILE.TXT" it does not return anything.
I think this is a syntax fault

What am I doing wrong?
thanks in advance
Regards
2 REPLIES 2

mikeh
Star Contributor
Star Contributor

fandez
Champ in-the-making
Champ in-the-making
Please see: http://wiki.alfresco.com/wiki/Search#Finding_nodes_by_text_property_values

Thanks,
Mike


Thanks Mike
Problem solved Smiley Happy
Regards