You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by rw...@apache.org on 2013/06/05 15:29:08 UTC

svn commit: r1489857 - in /stanbol/trunk/entityhub/yard/solr/src: main/java/org/apache/stanbol/entityhub/yard/solr/impl/ main/resources/solr/core/ test/java/org/apache/stanbol/entityhub/yard/solr/

Author: rwesten
Date: Wed Jun  5 13:29:08 2013
New Revision: 1489857

URL: http://svn.apache.org/r1489857
Log:
STANBOL-1092: addapted Solr schemas accordingly; also added a schema that uses all Language analyzers of the commons.solr.extra bundles

Added:
    stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/allextras.solrindex.zip   (with props)
Modified:
    stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java
    stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/default.solrindex.zip
    stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/entityhub.solrindex.zip
    stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/kuromoji.solrindex.zip
    stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/smartcn.solrindex.zip
    stanbol/trunk/entityhub/yard/solr/src/test/java/org/apache/stanbol/entityhub/yard/solr/SolrYardTest.java

Modified: stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
--- stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java (original)
+++ stanbol/trunk/entityhub/yard/solr/src/main/java/org/apache/stanbol/entityhub/yard/solr/impl/SolrYardConfig.java Wed Jun  5 13:29:08 2013
@@ -112,9 +112,10 @@ public final class SolrYardConfig extend
      */
     public static final String IMMEDIATE_COMMIT = "org.apache.stanbol.entityhub.yard.solr.immediateCommit";
     /**
-     * By default {@link #IMMEDIATE_COMMIT} is enabled
+     * By default {@link #IMMEDIATE_COMMIT} is disabled (NOTE: was enabled, but changed with 
+     * <a href="https://issues.apache.org/jira/browse/STANBOL-1092">STANBOL-1092</a>)
      */
-    public static final boolean DEFAULT_IMMEDIATE_COMMIT_STATE = true;
+    public static final boolean DEFAULT_IMMEDIATE_COMMIT_STATE = false;
     /**
      * If {@link #IMMEDIATE_COMMIT} is deactivated, than this time is parsed to update(..) and store(..)
      * operations as the maximum time (in ms) until a commit.

Added: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/allextras.solrindex.zip
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/allextras.solrindex.zip?rev=1489857&view=auto
==============================================================================
Binary file - no diff available.

Propchange: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/allextras.solrindex.zip
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Modified: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/default.solrindex.zip
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/default.solrindex.zip?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
Binary files - no diff available.

Modified: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/entityhub.solrindex.zip
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/entityhub.solrindex.zip?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
Binary files - no diff available.

Modified: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/kuromoji.solrindex.zip
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/kuromoji.solrindex.zip?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
Binary files - no diff available.

Modified: stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/smartcn.solrindex.zip
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/main/resources/solr/core/smartcn.solrindex.zip?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
Binary files - no diff available.

Modified: stanbol/trunk/entityhub/yard/solr/src/test/java/org/apache/stanbol/entityhub/yard/solr/SolrYardTest.java
URL: http://svn.apache.org/viewvc/stanbol/trunk/entityhub/yard/solr/src/test/java/org/apache/stanbol/entityhub/yard/solr/SolrYardTest.java?rev=1489857&r1=1489856&r2=1489857&view=diff
==============================================================================
--- stanbol/trunk/entityhub/yard/solr/src/test/java/org/apache/stanbol/entityhub/yard/solr/SolrYardTest.java (original)
+++ stanbol/trunk/entityhub/yard/solr/src/test/java/org/apache/stanbol/entityhub/yard/solr/SolrYardTest.java Wed Jun  5 13:29:08 2013
@@ -91,6 +91,9 @@ public class SolrYardTest extends YardTe
         config.setName("Solr Yard Test");
         config.setDescription("The Solr Yard instance used to execute the Unit Tests defined for the Yard Interface");
         config.setAllowInitialisation(true);
+        //for unit testing we want immidiate commits (required after STANBOL-1092
+        // as the default changed to false)
+        config.setImmediateCommit(true); 
         //init the ManagedSolrServer used for the UnitTest
         System.setProperty(ManagedSolrServer.MANAGED_SOLR_DIR_PROPERTY, solrServerDir);
         IndexReference solrServerRef = IndexReference.parse(config.getSolrServerLocation());