jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r612420 - in /jackrabbit/trunk/jackrabbit-core/src: main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java test/repository/workspaces/default/workspace.xml
Date Wed, 16 Jan 2008 11:08:53 GMT
Author: mreutegg
Date: Wed Jan 16 03:08:48 2008
New Revision: 612420

URL: http://svn.apache.org/viewvc?rev=612420&view=rev
Log:
JCR-1237: Change default value for respectDocumentOrder

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
    jackrabbit/trunk/jackrabbit-core/src/test/repository/workspaces/default/workspace.xml

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java?rev=612420&r1=612419&r2=612420&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
Wed Jan 16 03:08:48 2008
@@ -239,9 +239,12 @@
     private boolean useCompoundFile = true;
 
     /**
-     * Flag indicating whether document order is enable as the default ordering.
+     * Flag indicating whether document order is enabled as the default
+     * ordering.
+     * <p/>
+     * Default value is: <code>false</code>.
      */
-    private boolean documentOrder = true;
+    private boolean documentOrder = false;
 
     /**
      * If set <code>true</code> the index is checked for consistency on startup.

Modified: jackrabbit/trunk/jackrabbit-core/src/test/repository/workspaces/default/workspace.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/repository/workspaces/default/workspace.xml?rev=612420&r1=612419&r2=612420&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/repository/workspaces/default/workspace.xml
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/repository/workspaces/default/workspace.xml
Wed Jan 16 03:08:48 2008
@@ -36,6 +36,7 @@
   -->
   <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
     <param name="path" value="${wsp.home}/index" />
+    <param name="respectDocumentOrder" value="true" />
     <param name="synonymProviderClass" value="org.apache.jackrabbit.core.query.lucene.PropertiesSynonymProvider"/>
     <param name="synonymProviderConfigPath" value="../synonyms.properties"/>
     <param name="supportHighlighting" value="true"/>



Mime
View raw message