Subject: | example in synopsis incorrect |
Part of the synopsis is:
# then search the index
my $searcher = SWISH::Prog::Lucy::Searcher->new(
invindex => 'path/to/index.swish',
config => 'path/to/swish.conf',
);
But SWISH::Prog::Lucy::Searcher does not have a config method.
Example could be changed in something like:
# then search the index
my $searcher = SWISH::Prog::Lucy::Searcher->new(
invindex => 'path/to/index',
max_hits => 1000,
find_relevant_fields => 1, # default: 0
nfs_mode => 1, # default: 0
);