lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <daniel.na...@t-online.de>
Subject Re: API cleanup for Field
Date Mon, 30 Aug 2004 22:34:42 GMT
On Monday 30 August 2004 18:34, Doug Cutting wrote:

> If they're confusing and have a less-confusing alternative then we
> should eventually remove them from the API, so we should deprecate them
> now.  We should move entirely to the new enumeration-based contructors.
>   Everything else should be deprecated.

Okay, but the Field.Text that takes a Reader doesn't seem to be a pure 
convenience method, it makes use of the Reader, doesn't it? So to keep 
that feature we probably need another public constructor just like the 
current one with parameters name, value, and with two resp. three 
enumerations, but it needs to take a Reader instead of a String. Is that 
correct?

Regards
 Daniel

-- 
http://www.danielnaber.de

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


Mime
View raw message