lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: API cleanup for Field
Date Wed, 01 Sep 2004 19:55:18 GMT
Daniel Naber wrote:
> 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?

That's right.  In particular I think we'll need:

  public Field(String, Reader, Index); // Reader is never stored
  public Field(String, Reader, Index, TermVector);

Doug

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