mirror of https://github.com/apache/lucene.git
removed unused variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@898217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6956eaa1b4
commit
8ca932ea0b
|
@ -102,8 +102,6 @@ public class DataConfig {
|
||||||
|
|
||||||
public List<Entity> entities;
|
public List<Entity> entities;
|
||||||
|
|
||||||
public String[] primaryKeys;
|
|
||||||
|
|
||||||
public Entity parentEntity;
|
public Entity parentEntity;
|
||||||
|
|
||||||
public EntityProcessorWrapper processor;
|
public EntityProcessorWrapper processor;
|
||||||
|
@ -111,8 +109,6 @@ public class DataConfig {
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public DataSource dataSrc;
|
public DataSource dataSrc;
|
||||||
|
|
||||||
public Script script;
|
|
||||||
|
|
||||||
public Map<String, List<Field>> colNameVsField = new HashMap<String, List<Field>>();
|
public Map<String, List<Field>> colNameVsField = new HashMap<String, List<Field>>();
|
||||||
|
|
||||||
public Entity() {
|
public Entity() {
|
||||||
|
|
|
@ -60,8 +60,6 @@ public class DataImporter {
|
||||||
|
|
||||||
private DataConfig config;
|
private DataConfig config;
|
||||||
|
|
||||||
private Date lastIndexTime;
|
|
||||||
|
|
||||||
private Date indexStartTime;
|
private Date indexStartTime;
|
||||||
|
|
||||||
private Properties store = new Properties();
|
private Properties store = new Properties();
|
||||||
|
@ -74,8 +72,6 @@ public class DataImporter {
|
||||||
|
|
||||||
public DocBuilder.Statistics cumulativeStatistics = new DocBuilder.Statistics();
|
public DocBuilder.Statistics cumulativeStatistics = new DocBuilder.Statistics();
|
||||||
|
|
||||||
public Map<String, Evaluator> evaluators;
|
|
||||||
|
|
||||||
private SolrCore core;
|
private SolrCore core;
|
||||||
|
|
||||||
private ReentrantLock importLock = new ReentrantLock();
|
private ReentrantLock importLock = new ReentrantLock();
|
||||||
|
@ -199,8 +195,6 @@ public class DataImporter {
|
||||||
|
|
||||||
private void initEntity(DataConfig.Entity e,
|
private void initEntity(DataConfig.Entity e,
|
||||||
Map<String, DataConfig.Field> fields, boolean docRootFound) {
|
Map<String, DataConfig.Field> fields, boolean docRootFound) {
|
||||||
if (e.pk != null)
|
|
||||||
e.primaryKeys = e.pk.split(",");
|
|
||||||
e.allAttributes.put(DATA_SRC, e.dataSource);
|
e.allAttributes.put(DATA_SRC, e.dataSource);
|
||||||
|
|
||||||
if (!docRootFound && !"false".equals(e.docRoot)) {
|
if (!docRootFound && !"false".equals(e.docRoot)) {
|
||||||
|
|
Loading…
Reference in New Issue