mirror of https://github.com/apache/lucene.git
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:
parent
c30cf86921
commit
752faad70b
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue