You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Otis Gospodnetic (JIRA)" <ji...@apache.org> on 2009/07/22 23:25:14 UTC
[jira] Resolved: (SOLR-1303) Wildcard queries on fields with
LowerCaseFilterFactory not being lowercased.
[ https://issues.apache.org/jira/browse/SOLR-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Otis Gospodnetic resolved SOLR-1303.
------------------------------------
Resolution: Invalid
I think that's due to wildcard queries not being analyzed (and thus lowercased to match your indexed tokens). Explanation is in the Lucene FAQ Wiki page.
> Wildcard queries on fields with LowerCaseFilterFactory not being lowercased.
> ----------------------------------------------------------------------------
>
> Key: SOLR-1303
> URL: https://issues.apache.org/jira/browse/SOLR-1303
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 1.3
> Reporter: Matt Schraeder
> Priority: Minor
>
> I have a field defined as follows:
> <fieldType name="keyword" class="solr.TextField" sortMissingLast="true" omitNorms="true">
> <analyzer>
> <tokenizer class="solr.KeywordTokenizerFactory"/>
> <filter class="solr.LowerCaseFilterFactory" />
> <filter class="solr.TrimFilterFactory" />
> </analyzer>
> </fieldType>
> <field name="reviews" type="keyword" index="true" stored="true" multiValued="true" />
> The data being index is a single letter followed by a space, a +,-,M, or A ... so basically two characters.
> When I do the following queries:
> reviews: K+
> reviews: k+
> I get results as expected. However, when I replace the + in the query with a * or ?, then the uppercase version no longer works, only the lowercase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.