Author: jacopoc
Date: Wed Aug 28 14:11:11 2013
New Revision: 1518213

URL: http://svn.apache.org/r1518213
Log:
Moved the folder where search indexes are created from content/index to 
runtime/data/indexes because it is a good practice to avoid the creation of 
runtime data in the applications/framework.

Added:
    ofbiz/trunk/runtime/data/indexes/
Removed:
    ofbiz/trunk/applications/content/index/
Modified:
    ofbiz/trunk/applications/content/build.xml
    ofbiz/trunk/applications/content/config/search.properties
    ofbiz/trunk/runtime/data/README

Modified: ofbiz/trunk/applications/content/build.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/build.xml?rev=1518213&r1=1518212&r2=1518213&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/build.xml (original)
+++ ofbiz/trunk/applications/content/build.xml Wed Aug 28 14:11:11 2013
@@ -62,9 +62,7 @@ under the License.
 
     <target name="clean-lucene-index">
         <delete verbose="on">
-            <fileset dir="index/" includes="*">
-                <exclude name="indexhere.txt"/>
-            </fileset>
+            <fileset dir="../../runtime/data/indexes/" includes="*"/>
         </delete>
     </target>
 </project>

Modified: ofbiz/trunk/applications/content/config/search.properties
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/config/search.properties?rev=1518213&r1=1518212&r2=1518213&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/config/search.properties (original)
+++ ofbiz/trunk/applications/content/config/search.properties Wed Aug 28 
14:11:11 2013
@@ -17,4 +17,4 @@
 # under the License.
 ###############################################################################
 
-defaultIndex=applications/content/index
+defaultIndex=runtime/data/indexes

Modified: ofbiz/trunk/runtime/data/README
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/runtime/data/README?rev=1518213&r1=1518212&r2=1518213&view=diff
==============================================================================
--- ofbiz/trunk/runtime/data/README (original)
+++ ofbiz/trunk/runtime/data/README Wed Aug 28 14:11:11 2013
@@ -1 +1 @@
-The data (database) files, like the Derby files, will be put here.
+The data (database, search indexes etc.) files, like the Derby files, will be 
put here.


Reply via email to