mirror of https://github.com/apache/lucene.git
SOLR-2539: VectorValueSource.floatVal incorrectly used byteVal on sub-sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1127301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a636ef94d1
commit
9b31ee389f
|
@ -341,6 +341,9 @@ Bug Fixes
|
|||
set to true and no index segments have been changed, commit cannot trigger reload
|
||||
external file). (koji)
|
||||
|
||||
* SOLR-2539: VectorValueSource.floatVal incorrectly used byteVal on sub-sources.
|
||||
(Tom Liu via yonik)
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -85,8 +85,8 @@ public class VectorValueSource extends MultiValueSource {
|
|||
}
|
||||
@Override
|
||||
public void floatVal(int doc, float[] vals) {
|
||||
vals[0] = x.byteVal(doc);
|
||||
vals[1] = y.byteVal(doc);
|
||||
vals[0] = x.floatVal(doc);
|
||||
vals[1] = y.floatVal(doc);
|
||||
}
|
||||
@Override
|
||||
public void doubleVal(int doc, double[] vals) {
|
||||
|
|
Loading…
Reference in New Issue