mirror of https://github.com/apache/lucene.git
fix typo in abs.name() value source
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577879 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da32f1d023
commit
b91bd4f941
|
@ -603,7 +603,7 @@ public class QueryParsing {
|
|||
ValueSource source = parseValSource(sp,schema);
|
||||
return new SimpleFloatFunction(source) {
|
||||
protected String name() {
|
||||
return "log";
|
||||
return "abs";
|
||||
}
|
||||
protected float func(int doc, DocValues vals) {
|
||||
return (float)Math.abs(vals.floatVal(doc));
|
||||
|
|
Loading…
Reference in New Issue