From 08299b705f575581dc5fcf7dc081d126b5f7a888 Mon Sep 17 00:00:00 2001 From: "vit.jonas@gmail.com" Date: Wed, 14 Sep 2011 20:23:39 +0000 Subject: [PATCH] * fixed Issue 147: Wrong command for indexing (missing -U /) git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@230 5e329b0b-a2ee-ea63-e329-299493fc886d --- README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.txt b/README.txt index f68f01c0..06c5c5a5 100644 --- a/README.txt +++ b/README.txt @@ -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.