SOLR-8360: simplify ExternalFileField.getValueSource implementation

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718562 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Christine Poerschke 2015-12-08 11:08:04 +00:00
parent 118c79a3d6
commit fe731fd449
2 changed files with 3 additions and 1 deletions

View File

@ -257,6 +257,8 @@ Other Changes
* SOLR-7774: revise BasicDistributedZkTest.test logic w.r.t. 'commitWithin did not work on some nodes' * SOLR-7774: revise BasicDistributedZkTest.test logic w.r.t. 'commitWithin did not work on some nodes'
(Christine Poerschke) (Christine Poerschke)
* SOLR-8360: simplify ExternalFileField.getValueSource implementation (Christine Poerschke)
================== 5.4.0 ================== ================== 5.4.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release

View File

@ -99,7 +99,7 @@ public class ExternalFileField extends FieldType implements SchemaAware {
@Override @Override
public ValueSource getValueSource(SchemaField field, QParser parser) { public ValueSource getValueSource(SchemaField field, QParser parser) {
return getFileFloatSource(field, parser.getReq().getCore().getDataDir()); return getFileFloatSource(field);
} }
/** /**