lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless" <luc...@mikemccandless.com>
Subject Re: svn commit: r557445 - in /lucene/java/trunk: CHANGES.txt src/java/org/apache/lucene/document/Field.java src/test/org/apache/lucene/document/TestDocument.java
Date Thu, 19 Jul 2007 09:50:17 GMT

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" <DORONC@il.ibm.com> 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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 

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