You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2011/12/05 00:14:46 UTC
svn commit: r1210274 -
/lucene/dev/branches/lucene3606/lucene/src/java/org/apache/lucene/index/SegmentInfo.java
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 {