diff --git a/contrib/miscellaneous/src/java/org/apache/lucene/index/FieldNormModifier.java b/contrib/miscellaneous/src/java/org/apache/lucene/index/FieldNormModifier.java index 735aceecc4f..dcb31f5eceb 100644 --- a/contrib/miscellaneous/src/java/org/apache/lucene/index/FieldNormModifier.java +++ b/contrib/miscellaneous/src/java/org/apache/lucene/index/FieldNormModifier.java @@ -41,7 +41,7 @@ public class FieldNormModifier { * Command Line Execution method. * *
- * Usage: FieldNormModifier /path/index*/ public static void main(String[] args) throws IOException { diff --git a/contrib/miscellaneous/src/java/org/apache/lucene/misc/LengthNormModifier.java b/contrib/miscellaneous/src/java/org/apache/lucene/misc/LengthNormModifier.java index e6c4afa66de..af3c21b61de 100644 --- a/contrib/miscellaneous/src/java/org/apache/lucene/misc/LengthNormModifier.java +++ b/contrib/miscellaneous/src/java/org/apache/lucene/misc/LengthNormModifier.java @@ -38,6 +38,7 @@ import java.util.Date; * * * @version $Id$ + * @deprecated Use {@link org.apache.lucene.index.FieldNormModifier} */ public class LengthNormModifier {field1 field2 ... + * Usage: FieldNormModifier /path/index <package.SimilarityClassName | -n> field1 field2 ... *