lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r881642 - in /lucene/solr/trunk: CHANGES.txt src/java/org/apache/solr/search/function/ValueSource.java
Date Wed, 18 Nov 2009 01:06:37 GMT
Author: yonik
Date: Wed Nov 18 01:06:37 2009
New Revision: 881642

URL: http://svn.apache.org/viewvc?rev=881642&view=rev
Log:
SOLR-1432: default impl of new ValueSource.getValues() should use old

Modified:
    lucene/solr/trunk/CHANGES.txt
    lucene/solr/trunk/src/java/org/apache/solr/search/function/ValueSource.java

Modified: lucene/solr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/CHANGES.txt?rev=881642&r1=881641&r2=881642&view=diff
==============================================================================
--- lucene/solr/trunk/CHANGES.txt (original)
+++ lucene/solr/trunk/CHANGES.txt Wed Nov 18 01:06:37 2009
@@ -50,6 +50,10 @@
 
 * SOLR-1569: Allow functions to take in literal strings by modifying the FunctionQParser
and adding LiteeralValueSource (gsingers)
 
+* SOLR-1432: Make the new ValueSource.getValues(context,reader) delegate
+  to the original ValueSource.getValues(reader) so custom sources
+  will work. (yonik)
+
 Other Changes
 ----------------------
 

Modified: lucene/solr/trunk/src/java/org/apache/solr/search/function/ValueSource.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/function/ValueSource.java?rev=881642&r1=881641&r2=881642&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/function/ValueSource.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/function/ValueSource.java Wed Nov 18
01:06:37 2009
@@ -44,7 +44,7 @@
    * passed to createWeight()
    */
   public DocValues getValues(Map context, IndexReader reader) throws IOException {
-    return null;
+    return getValues(reader);
   }
 
   public abstract boolean equals(Object o);



Mime
View raw message