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:
Robert Muir 2013-01-08 02:58:30 +00:00
parent 2c1dd4db75
commit ae59294e12
1 changed files with 2 additions and 2 deletions

View File

@ -374,12 +374,12 @@ public class Lucene41SimpleDocValuesFormat extends SimpleDocValuesFormat {
@Override
public int getValueCount() {
return ordinals.size();
return binary.size();
}
@Override
public int size() {
return binary.size();
return ordinals.size();
}
};
}