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.

Reply via email to