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 Romi <ro...@gmail.com> on 2011/07/08 09:26:21 UTC
Problem in searching uppercase string with wildcard
Hello, I am using solr search. my search field contains both "diamond" and
"Diamond".
But when i search for Diamond/diamond it gives me correct results. But when
i search for Diamond*/diamond*, I get result for diamond* but no results
found for Diamond* . although i have applied <filter
class="solr.LowerCaseFilterFactory"/>.
would you please suggest me what can be the issue.
-----
Thanks & Regards
Romi
--
View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-searching-uppercase-string-with-wildcard-tp3151037p3151037.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Problem in searching uppercase string with wildcard
Posted by William Bell <bi...@gmail.com>.
Setup the filter on query and indexing to make it case insensitive...
Then reindex.
On Fri, Jul 8, 2011 at 1:26 AM, Romi <ro...@gmail.com> wrote:
> Hello, I am using solr search. my search field contains both "diamond" and
> "Diamond".
> But when i search for Diamond/diamond it gives me correct results. But when
> i search for Diamond*/diamond*, I get result for diamond* but no results
> found for Diamond* . although i have applied <filter
> class="solr.LowerCaseFilterFactory"/>.
>
> would you please suggest me what can be the issue.
>
> -----
> Thanks & Regards
> Romi
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Problem-in-searching-uppercase-string-with-wildcard-tp3151037p3151037.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
--
Bill Bell
billnbell@gmail.com
cell 720-256-8076
Re: Problem in searching uppercase string with wildcard
Posted by Ahmet Arslan <io...@yahoo.com>.
> Hello, I am using solr search. my
> search field contains both "diamond" and
> "Diamond".
> But when i search for Diamond/diamond it gives me correct
> results. But when
> i search for Diamond*/diamond*, I get result for diamond*
> but no results
> found for Diamond* . although i have applied
> <filter
> class="solr.LowerCaseFilterFactory"/>.
>
> would you please suggest me what can be the issue.
Please see the explanation on wiki about this issue.
http://wiki.apache.org/lucene-java/LuceneFAQ#Are_Wildcard.2C_Prefix.2C_and_Fuzzy_queries_case_sensitive.3F