issue in searching uppercase string with wildcard
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.
"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"
http://wiki.apache.org/lucene-java/LuceneFAQ#Are_Wildcard.2C_Prefix.2C_and_Fuzzy_queries_case_sensitive.3F
Inside this link there's the workaround for this problem
精彩评论