> , or each tokenizer should read "or each Tokenizer or TokenFilter"
On Mon, Aug 10, 2009 at 12:55 PM, Yonik Seeley<yo...@lucidimagination.com> wrote: > On Mon, Aug 10, 2009 at 12:44 PM, Uwe Schindler<u...@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-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org