lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r898217 - in /lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport: DataConfig.java DataImporter.java
Date Tue, 12 Jan 2010 08:00:35 GMT
Author: noble
Date: Tue Jan 12 08:00:34 2010
New Revision: 898217

URL: http://svn.apache.org/viewvc?rev=898217&view=rev
Log:
removed unused variables

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java
    lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java?rev=898217&r1=898216&r2=898217&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataConfig.java
Tue Jan 12 08:00:34 2010
@@ -102,8 +102,6 @@
 
     public List<Entity> entities;
 
-    public String[] primaryKeys;
-
     public Entity parentEntity;
 
     public EntityProcessorWrapper processor;
@@ -111,8 +109,6 @@
     @SuppressWarnings("unchecked")
     public DataSource dataSrc;
 
-    public Script script;
-
     public Map<String, List<Field>> colNameVsField = new HashMap<String, List<Field>>();
 
     public Entity() {

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java?rev=898217&r1=898216&r2=898217&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/DataImporter.java
Tue Jan 12 08:00:34 2010
@@ -60,8 +60,6 @@
 
   private DataConfig config;
 
-  private Date lastIndexTime;
-
   private Date indexStartTime;
 
   private Properties store = new Properties();
@@ -74,8 +72,6 @@
 
   public DocBuilder.Statistics cumulativeStatistics = new DocBuilder.Statistics();
 
-  public Map<String, Evaluator> evaluators;
-
   private SolrCore core;
 
   private ReentrantLock importLock = new ReentrantLock();
@@ -199,8 +195,6 @@
 
   private void initEntity(DataConfig.Entity e,
                           Map<String, DataConfig.Field> 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)) {



Mime
View raw message