mirror of https://github.com/apache/lucene.git
fix silly bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4547@1430122 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2c1dd4db75
commit
ae59294e12
|
@ -374,12 +374,12 @@ public class Lucene41SimpleDocValuesFormat extends SimpleDocValuesFormat {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getValueCount() {
|
public int getValueCount() {
|
||||||
return ordinals.size();
|
return binary.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int size() {
|
public int size() {
|
||||||
return binary.size();
|
return ordinals.size();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue