lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r495191 - /lucene/java/trunk/src/java/org/apache/lucene/document/Field.java
Date Thu, 11 Jan 2007 10:55:33 GMT
Author: otis
Date: Thu Jan 11 02:55:32 2007
New Revision: 495191

URL: http://svn.apache.org/viewvc?view=rev&rev=495191
Log:
- Added more javadoc for NO_NORMS

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/document/Field.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/document/Field.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/document/Field.java?view=diff&rev=495191&r1=495190&r2=495191
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/document/Field.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/document/Field.java Thu Jan 11 02:55:32 2007
@@ -84,6 +84,10 @@
      * and field length normalization will be disabled.  The benefit is
      * less memory usage as norms take up one byte per indexed field
      * for every document in the index.
+     * Note that once you index a given field <i>with</i> norms enabled,
+     * disabling norms will have no effect.  In other words, for NO_NORMS
+     * to have the above described effect on a field, all instances of that
+     * field must be indexed with NO_NORMS from the beginning.
      */
     public static final Index NO_NORMS = new Index("NO_NORMS");
 



Mime
View raw message