- Added more javadoc for NO_NORMS

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495191 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2007-01-11 10:55:32 +00:00
parent 9b0986ae37
commit 7c241242f0
1 changed files with 4 additions and 0 deletions

View File

@ -84,6 +84,10 @@ public final class Field extends AbstractField implements Fieldable, Serializabl
* 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");