Description
ExternalFileField.getValueSource(SchemaField field, QParser parser) has available:
- datadir
- parser.getReq().getCore().getDataDir()
- this.schema.getResourceLoader().getDataDir()
- schema
- parser.getReq().getSchema()
- this.schema
ExternalFileField.getValueSource uses parser.getReq().getCore().getDataDir() explicitly but implicitly this.schema - should it use parser.getReq().getSchema() instead (Option 1 patch)? Or if in practice actually req.datadir and this.datadir are always the same could we stop using the parser argument (Option 2 patch (1 line))?
Attachments
Attachments
Issue Links
- is required by
-
SOLR-8305 replace LatLonType.getValueSource's QParser use
- Closed