lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: who clears attributes?
Date Mon, 10 Aug 2009 16:55:32 GMT
On Mon, Aug 10, 2009 at 12:44 PM, Uwe Schindler<> wrote:
>the CharTokenizer should only clear the TermAttribute, as it is only using this attribute.

It's certainly not clear to me - is there an established convention?
Either Tokenizer clears all attributes, or each tokenizer clears those
attributes it cares about.  But in the latter case, wouldn't that
potentially cause multiple TokenFilters to clear the same attribute?


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

View raw message