SOLR-1259: fix scale function

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@802458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-08-08 21:33:28 +00:00
parent d0ec8b1bfe
commit 7b70b51a89
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public abstract class ValueSourceParser implements NamedListInitializedPlugin
ValueSource source = fp.parseValueSource(); ValueSource source = fp.parseValueSource();
float min = fp.parseFloat(); float min = fp.parseFloat();
float max = fp.parseFloat(); float max = fp.parseFloat();
return new ScaleFloatFunction(source,min,max); return new TopValueSource(new ScaleFloatFunction(source,min,max));
} }
public void init(NamedList args) { public void init(NamedList args) {