cancel
Showing results for 
Search instead for 
Did you mean: 

LUCENE cannot find user with special name 'Nový'

vycitalr
Champ in-the-making
Champ in-the-making
Hello,
I have met with very strange and annoying behavior as to user search.
When I create/change a user to have a special name 'Nový' (either lastname of firstName) I am unable to find it by that field through LUCENE query (eg. UserBean.search()). All other similar words like 'Kový', 'Novýk' works fine. I am using alfresco 2.1 Comuinty under Czech language. I do not know if it might be ralated, but the word "Nový" is Czech equivalent for 'New', and is quite a common lastname here. I experienced this on several installations (either with postrge or oracle), even on a new clean installation. I examined the DB and I could see the names correctly there (no whitespaces etc). I have no explanation for this unless it is bug. I guess this must be somewhat corrupted in Lucene. I can easily find the user by other fields (username, organizationId) or by displaying all users, and I can edit it with no problem. If I change any user to this special name, I just cannot find it anymore by that name.
Thank you for your comments.

RVy
1 REPLY 1

vycitalr
Champ in-the-making
Champ in-the-making
I answer myself.. I found the word to be a STOP WORD in the provided CzechAnalyzer.