SOLR-1432: default impl of new ValueSource.getValues() should use old

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@881642 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-11-18 01:06:37 +00:00
parent c30cf86921
commit 752faad70b
2 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,10 @@ Bug Fixes
* 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
----------------------

View File

@ -44,7 +44,7 @@ public abstract class ValueSource implements Serializable {
* passed to createWeight()
*/
public DocValues getValues(Map context, IndexReader reader) throws IOException {
return null;
return getValues(reader);
}
public abstract boolean equals(Object o);