lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r810788 - in /lucene/solr/trunk/src/java/org/apache/solr: core/SolrCore.java update/SolrIndexWriter.java
Date Thu, 03 Sep 2009 06:46:47 GMT
Author: noble
Date: Thu Sep  3 06:46:47 2009
New Revision: 810788

URL: http://svn.apache.org/viewvc?rev=810788&view=rev
Log:
SOLR-1399.  Lock settings are ignored

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
    lucene/solr/trunk/src/java/org/apache/solr/update/SolrIndexWriter.java

Modified: lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java?rev=810788&r1=810787&r2=810788&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java Thu Sep  3 06:46:47 2009
@@ -385,7 +385,7 @@
         log.warn(logid+"Solr index directory '" + dirFile + "' doesn't exist."
                 + " Creating new index...");
 
-        SolrIndexWriter writer = new SolrIndexWriter("SolrCore.initIndex", getIndexDir(),
getDirectoryFactory(), true, schema, solrConfig.mainIndexConfig);
+        SolrIndexWriter writer = new SolrIndexWriter("SolrCore.initIndex", getIndexDir(),
getDirectoryFactory(), true, schema, solrConfig.mainIndexConfig, solrDelPolicy);
         writer.close();
       }
 

Modified: lucene/solr/trunk/src/java/org/apache/solr/update/SolrIndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/update/SolrIndexWriter.java?rev=810788&r1=810787&r2=810788&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/update/SolrIndexWriter.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/update/SolrIndexWriter.java Thu Sep  3 06:46:47
2009
@@ -153,9 +153,7 @@
     init(name, schema, null);
   }
 
-  /**
-   *
-   */
+  @Deprecated
   public SolrIndexWriter(String name, String path, DirectoryFactory dirFactory, boolean create,
IndexSchema schema, SolrIndexConfig config) throws IOException {
     super(getDirectory(path, dirFactory, null), config.luceneAutoCommit, schema.getAnalyzer(),
create);
     init(name, schema, config);



Mime
View raw message