diff --git a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java index 83adc740457..5a1380283e3 100644 --- a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java +++ b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java @@ -102,8 +102,6 @@ public class DataConfig { public List entities; - public String[] primaryKeys; - public Entity parentEntity; public EntityProcessorWrapper processor; @@ -111,8 +109,6 @@ public class DataConfig { @SuppressWarnings("unchecked") public DataSource dataSrc; - public Script script; - public Map> colNameVsField = new HashMap>(); public Entity() { diff --git a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java index a2fadfa6a35..5aec368adaa 100644 --- a/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java +++ b/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java @@ -60,8 +60,6 @@ public class DataImporter { private DataConfig config; - private Date lastIndexTime; - private Date indexStartTime; private Properties store = new Properties(); @@ -74,8 +72,6 @@ public class DataImporter { public DocBuilder.Statistics cumulativeStatistics = new DocBuilder.Statistics(); - public Map evaluators; - private SolrCore core; private ReentrantLock importLock = new ReentrantLock(); @@ -199,8 +195,6 @@ public class DataImporter { private void initEntity(DataConfig.Entity e, Map fields, boolean docRootFound) { - if (e.pk != null) - e.primaryKeys = e.pk.split(","); e.allAttributes.put(DATA_SRC, e.dataSource); if (!docRootFound && !"false".equals(e.docRoot)) {