lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Brucher (Created) (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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"
expand="false"/>
               </analyzer>
               <analyzer type="query">
                 <tokenizer class="solr.KeywordTokenizerFactory"/>
               </analyzer>
</fieldType>

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...


Regrads


Johannes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message