[ 
https://issues.apache.org/jira/browse/LUCENE-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022286#comment-13022286
 ] 

Uwe Schindler commented on LUCENE-3039:
---------------------------------------

Yonik, clearing should be done by the Tokenizer or other token-producers (if a 
filter inserts Tokens, it also has to clear Attributes). If the Tokenizer does 
not clear all Attributes using clearAttributes(), it is borken. But not this 
one.

Can you post the config of your Tokenizers and Filters or which Analyzer is 
affected?

> all words are protected after the first detected
> ------------------------------------------------
>
>                 Key: LUCENE-3039
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3039
>             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: http://www.atlassian.com/software/jira

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

Reply via email to