-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3
-
Fix Version/s: 1.3
-
Component/s: contrib - DataImportHandler
-
Labels:None
The default implementation of Context – ContextImpl#getDataSource(String) method does not use the String argument and returns the current entity's data source. The javadoc for this method in Context is also inconsistent.
/** * Gets a new DataSource instance with a name. * * @param name Name of the dataSource as defined in the dataSource tag * @return a new DataSource instance as configured for the named entity * @see org.apache.solr.handler.dataimport.DataSource */ public abstract DataSource getDataSource(String name);