Skip to content

Commit

Permalink
Moved the folder where search indexes are created from content/index …
Browse files Browse the repository at this point in the history
…to runtime/data/indexes because it is a good practice to avoid the creation of runtime data in the applications/framework.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1518213 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jacopoc committed Aug 28, 2013
1 parent 0a70855 commit 4894bb7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
4 changes: 1 addition & 3 deletions applications/content/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
2 changes: 1 addition & 1 deletion applications/content/config/search.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
# under the License.
###############################################################################

defaultIndex=applications/content/index
defaultIndex=runtime/data/indexes
21 changes: 0 additions & 21 deletions applications/content/index/indexhere.txt

This file was deleted.

2 changes: 1 addition & 1 deletion runtime/data/README
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 4894bb7

Please sign in to comment.