lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
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);


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message