I stuck with a problem for example if a search for an extended character "ÈÈÈ" it is not returning any search re开发者_JAVA技巧sult If I search for only È it is not returning any result.
any solution?
Thanx
May be the character È is eliminated during indexing. Check your analyzer. Most analyzers try remove the special characters during indexing.
Hi here is a solution which worked for me
QueryParser.setLowercaseExpandedTerms(false);
it will not convert text to lowercase.
if you not set this to false parser will convert the seacrh text to small case and it will not return any result.
精彩评论