diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 6a0fb87a37d..d3e5b3040c8 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -257,6 +257,8 @@ Other Changes * SOLR-7774: revise BasicDistributedZkTest.test logic w.r.t. 'commitWithin did not work on some nodes' (Christine Poerschke) +* SOLR-8360: simplify ExternalFileField.getValueSource implementation (Christine Poerschke) + ================== 5.4.0 ================== Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release diff --git a/solr/core/src/java/org/apache/solr/schema/ExternalFileField.java b/solr/core/src/java/org/apache/solr/schema/ExternalFileField.java index 3f0e28aad4a..91f42b014bb 100644 --- a/solr/core/src/java/org/apache/solr/schema/ExternalFileField.java +++ b/solr/core/src/java/org/apache/solr/schema/ExternalFileField.java @@ -99,7 +99,7 @@ public class ExternalFileField extends FieldType implements SchemaAware { @Override public ValueSource getValueSource(SchemaField field, QParser parser) { - return getFileFloatSource(field, parser.getReq().getCore().getDataDir()); + return getFileFloatSource(field); } /**