diff options
author | Hans de Graaff <hans@degraaff.org> | 2012-10-26 14:33:02 +0200 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2012-10-26 14:35:34 +0200 |
commit | 9d53caf784e1b5ed83b68c08309c156e7c49b3d5 (patch) | |
tree | 9d4a1ef935fba86be6090e862a8e9ff59c28f994 /bin | |
parent | Add RSpec files so that we can start creating specifications. (diff) | |
download | gorg-9d53caf784e1b5ed83b68c08309c156e7c49b3d5.tar.gz gorg-9d53caf784e1b5ed83b68c08309c156e7c49b3d5.tar.bz2 gorg-9d53caf784e1b5ed83b68c08309c156e7c49b3d5.zip |
Remove search functionality based on obsolete dbi.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gorg | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -49,7 +49,6 @@ Available options: NB: relative paths in xml are from current directory absolute paths are from {root} in config file -v, --version : display gorg version number --I, --index : scan and index xml files --param N V : parameter name and value to be passed to the XSL processor It can appear more than once e.g. gorg<file.xml --param N1 V1 --param N2 V2 @@ -67,12 +66,6 @@ if ARGV.length == 1 and ['-W', '--web'].include?(ARGV[0]) then elsif ARGV.length == 1 and ['-C', '--clean-cache'].include?(ARGV[0]) then # Cache clean up requested, do not bother about STDIN Cache.washCache($Config["cacheDir"], tmout=900, cleanTree=true) -elsif ARGV.length == 1 and ['-I', '--index'].include?(ARGV[0]) then - require 'gorg/search' - # Index xml files, do not bother about STDIN - gs = GDig::GSearch.new - gs.cleanup # Remove old files - gs.indexDir # Scan for new/modified files elsif ARGV.include?('-F') or ARGV.include?('--filter') or not STDIN.tty? # Be a filter by default when data is piped to gorg # or when -F, --filter is used |