lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Brucher (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-3235) Whitespace issue in synonym list
Date Mon, 12 Mar 2012 12:44:39 GMT
Whitespace issue in synonym list

                 Key: SOLR-3235
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 3.5, 3.4
         Environment: Windows 7
Firefox 10.0.2
Solr example (start.jar)
            Reporter: Johannes Brucher

If you use the following schema.xml entrie:

<fieldType name="contenttype" class="solr.TextField"  multiValued="true" omitNorms="true">
              <analyzer type="index">
               <tokenizer class="solr.KeywordTokenizerFactory"/>
                 <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true"
               <analyzer type="query">
                 <tokenizer class="solr.KeywordTokenizerFactory"/>

With a synonym list having such entrie:

text/html;\ charset=ISO-8859-1 => html

Solr 3.4 and 3.5 can't handle the whitespace between "html;" and "charset" and no synonym
substitution is processed. The same config works find in Solr 3.3.
No exception or error is thrown.

This is my first jira ticket, so if I mist something let me know...



This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message