lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: who clears attributes?
Date Mon, 10 Aug 2009 16:57:14 GMT
> , or each tokenizer
should read "or each Tokenizer or TokenFilter"


On Mon, Aug 10, 2009 at 12:55 PM, Yonik
Seeley<yonik@lucidimagination.com> wrote:
> On Mon, Aug 10, 2009 at 12:44 PM, Uwe Schindler<uwe@thetaphi.de> 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?
>
> -Yonik
> http://www.lucidimagination.com
>

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


Mime
View raw message