lucene-dev mailing list archives

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


Michael Froh updated LUCENE-4185:

    Affects Version/s:     (was: 4.0)
> CharFilters being added twice in Solr
> -------------------------------------
>                 Key: LUCENE-4185
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


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

View raw message