Reputation: 4921
I am using solr search. my search field contains both diamond
and Diamond
.
But when i search for Diamond
or diamond
it gives me correct results. But when i search for Diamond*
or 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.
Upvotes: 0
Views: 1479
Reputation: 11038
"Unlike other types of Lucene queries, Wildcard, Prefix, and Fuzzy queries are not passed through the Analyzer, which is the component that performs operations such as stemming and lowercasing"
Inside this link there's the workaround for this problem
Upvotes: 3