lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Froh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4185) CharFilters being added twice in Solr
Date Mon, 02 Jul 2012 18:09:22 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Froh updated LUCENE-4185:
---------------------------------

    Affects Version/s:     (was: 4.0)
                       4.0-ALPHA
    
> CharFilters being added twice in Solr
> -------------------------------------
>
>                 Key: LUCENE-4185
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4185
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/analysis
>    Affects Versions: 4.0-ALPHA
>            Reporter: Michael Froh
>
> Debugging one of my test cases, I found that a TokenStream from an Analyzer constructed
by Solr contains the configured chain of CharFilters twice.
> While I may be mistaken, the fix for LUCENE-4142 appears to make the fix for LUCENE-3721
unnecessary, and the combination of the fixes results in the repeated application of the CharFilters.
> I came across this with a test case involving an HTMLStripCharFilter, where the input
string contains "&lt;h1>". After passing through one HTMLStripCharFilter, it becomes
"<h1>", and then the HTML is removed by the second filter.

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