You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by ot...@apache.org on 2007/01/11 11:55:33 UTC
svn commit: r495191 -
/lucene/java/trunk/src/java/org/apache/lucene/document/Field.java
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");