mirror of https://github.com/apache/lucene.git
LUCENE-3606: deprecate these two methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6bb6a81edd
commit
e1918d8e9c
|
@ -337,9 +337,7 @@ public final class SegmentInfo implements Cloneable {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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 implements Cloneable {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
|
|
Loading…
Reference in New Issue