lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: new Token API
Date Tue, 20 Nov 2007 00:02:33 GMT
Yonik Seeley wrote:
> 1) If we are deprecating some methods like String termText(), how
> about at the same time deprecating "String type"?  If we want
> lightweight per-token metadata for communication between filters, an
> int or a long used as a bitvector (32 or 64 independent boolean vars
> per token) would be much more useful than a single String.

There are tokenizers that use the type string, e.g., StandardFilter & 
similar things in Nutch.  How would you replace such uses?  Add a bit 
for each token type?  Is that really that much more useful?

Doug

---------------------------------------------------------------------
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