Skip to content

Commit

Permalink
* fixed Issue 147: Wrong command for indexing (missing -U /)
Browse files Browse the repository at this point in the history
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk@230 5e329b0b-a2ee-ea63-e329-299493fc886d
  • Loading branch information
vit.jonas@gmail.com committed Sep 14, 2011
1 parent 628eb5b commit 3133205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions redmine_dmsf/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ sudo apt-get install libxapian-ruby1.8 xapian-omega libxapian-dev xpdf antiword
If you want to use fulltext search features, you must setup file content indexing.

It is necessary to index DMSF files with omega before searching attemts to recieve some output:
omindex -s english -l 1 --db {path to index database from configuration} {path to storage from configuration}
omindex -s english -l 1 --db {path to index database from configuration} {path to storage from configuration}

This command must be run on regular basis (e.g. from cron)

Example of cron job (once per hour at 8th minute):
8 * * * * root /usr/bin/omindex -s english -l 1 --db /opt/redmine/files/dmsf_index /opt/redmine/files/dmsf
8 * * * * root /usr/bin/omindex -s english -l 1 -U / --db /opt/redmine/files/dmsf_index /opt/redmine/files/dmsf

Use omindex -h for help.

Expand Down

0 comments on commit 3133205

Please sign in to comment.