lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-2145) Give warning or error when StrField is used with analyzer definition
Date Fri, 08 Oct 2010 10:09:30 GMT
Give warning or error when StrField is used with analyzer definition
--------------------------------------------------------------------

                 Key: SOLR-2145
                 URL: https://issues.apache.org/jira/browse/SOLR-2145
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
            Reporter: Erik Hatcher


This illustrates the problem <http://search.lucidimagination.com/search/document/c7faf8d497b94b08/case_insensitive_phrase_query_for_string_fields>

{code}
<fieldType name="ci_string" class="solr.StrField">
      <analyzer>
         <filter class="solr.LowerCaseFilterFactory"/>
         <tokenizer class="solr.KeywordTokenizerFactory"/>
      </analyzer>
</fieldType>
{code}

StrField doesn't use the analyzer *except* improperly with the analysis.jsp tool currently.
 

This mistake should be a startup error or warning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message