From b91bd4f94112f59554248075ac991ad7990b01bc Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 20 Sep 2007 19:02:05 +0000 Subject: [PATCH] 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 --- src/java/org/apache/solr/search/QueryParsing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/search/QueryParsing.java b/src/java/org/apache/solr/search/QueryParsing.java index f2ec47de98f..f4ac50e56ef 100644 --- a/src/java/org/apache/solr/search/QueryParsing.java +++ b/src/java/org/apache/solr/search/QueryParsing.java @@ -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));