I agree. I will add wording to that effect, and also link over to the Wiki page for details (and update the Wiki page with these details!).
Mike "Doron Cohen" <[EMAIL PROTECTED]> wrote: > mikemccand wrote: > > + /** Expert: change the value of this field. This can be > > + * used during indexing to re-use a single Field instance > > + * to improve indexing speed. */ > > + public void setValue(String value) { > > Would it make sense to warn from modifying the field > value before the doc was added? > Something like: > Note that fields reuse means adding the same field instance > to multiple documents. You cannot reuse a field instance > for adding multiple fields to the same document." > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]