lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1210274 - /lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java
Date Sun, 04 Dec 2011 23:14:46 GMT
Author: rmuir
Date: Sun Dec  4 23:14:46 2011
New Revision: 1210274

URL: http://svn.apache.org/viewvc?rev=1210274&view=rev
Log:
LUCENE-3606: deprecate these two methods

Modified:
    lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java

Modified: lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java?rev=1210274&r1=1210273&r2=1210274&view=diff
==============================================================================
--- lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java
(original)
+++ lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java
Sun Dec  4 23:14:46 2011
@@ -337,9 +337,7 @@ public final class SegmentInfo implement
   }
 
   /**
-   * Returns true if this field for this segment has saved a separate norms file (_<segment>_N.sX).
-   *
-   * @param fieldNumber the field index to check
+   * @deprecated separate norms are not supported in >= 4.0
    */
   public boolean hasSeparateNorms(int fieldNumber) {
     if (normGen == null) {
@@ -351,9 +349,9 @@ public final class SegmentInfo implement
   }
 
   /**
-   * Returns true if any fields in this segment have separate norms.
+   * @deprecated separate norms are not supported in >= 4.0
    */
-  public boolean hasSeparateNorms() {
+  boolean hasSeparateNorms() {
     if (normGen == null) {
       return false;
     } else {



Mime
View raw message