Closed boki69 closed 2 years ago
The script has no access to the Redmine's database to get that plugin's option. So, it's hard coded in the script here:
44 # Directory containing Xapian databases for omindex (Attachments indexing)
45 $dbrootpath = File.expand_path('file_index', $redmine_root)
If you don't use the default path, you can change it here. It's not much user friendly, but I don't know how to do that better.
Hi Karel,
I've tested this great plugin (devel-2.0.6) on my Redmine 5 migration. It works, but there is a misunderstood i think.
On plugin configuration page, i can setup the database path:
But the redmine/plugins/redmine_xapian/extra/xapian_indexer.rb don't use it. It uses the default directory and index files. This is hardcoded in the script.
Maybe it is better to use this configuration in the script too, if we start the script without -t switch.
Best Regards!