You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by logu <sl...@chn.aithent.com> on 2012/06/27 11:04:21 UTC
Doubt (Lower/upper case issue)
I want to search a word which may be in lower/upper case but the result
should be in both. I mean both cases should be include in the search.
what should I change in my configuration of solr.
SV: Doubt (Lower/upper case issue)
Posted by Mikael Jagekrans <mi...@comaround.se>.
You should add LowerCaseFilterFactory factories to both the index analyzer and the query analyzer in your fieldType declaration in the schema file.
They will convert both the index and queries to lowercase which will give you case insensitive results.
Mikael Jagekrans
Software Engineer
mikael.j@comaround.se
Tel: +46 8-580 886 48
Holländargatan 13, 111 36 Stockholm, Sweden
http://www.comaround.se
-----Ursprungligt meddelande-----
Från: logu [mailto:sloganathan@chn.aithent.com]
Skickat: den 27 juni 2012 11:04
Till: solr-user@lucene.apache.org
Ämne: Doubt (Lower/upper case issue)
I want to search a word which may be in lower/upper case but the result
should be in both. I mean both cases should be include in the search.
what should I change in my configuration of solr.