lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3039) all words are protected after the first detected
Date Wed, 20 Apr 2011 19:07:05 GMT


Uwe Schindler commented on LUCENE-3039:

I found the bug:
The problem is in analysis.jsp (3.x version), line 227: there should be a clearAttributes()
Reason is: In early stages, cached tokens dont have the Keyword Attribute, so the following
copyTo() does not overwrite all attributes.
Same applies for AnalysisReqHandlerBase. The depreacted AnalysisReqHandler does not has this
problem as it does not debug all filters and caches no Tokens.
Patch is coming...

> all words are protected after the first detected
> ------------------------------------------------
>                 Key: LUCENE-3039
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Yonik Seeley
> LUCENE-2901 broke protected words by only setting and never clearing (that change should
have been accompanied by offsetting code to clear the attribute somewhere).

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message