[root(at)not-real.purple /usr/local/www/cgi-bin]# cat .swishcgi.conf
use lib ( '/usr/local/lib/swish-e/perl' );
return {
title => ' ',
page_size => 20,
swish_binary => '/usr/local/bin/swish-e',
display_props => [qw/ swishtitle swishdescription /],
swish_index =>
['/home/mail-archive/search/t2.index/index.swish-e'],
select_indexes => {
method => 'checkbox_group',
labels => ['Type2'], # Must match up one-to-one to swish_index
description => 'Select mailing list(s): ',
}
}
[root(at)not-real.purple /usr/local/www/cgi-bin]# cat /home/mail-archive/search/t2.conf
IndexDir /usr/local/www/data.type2/mail-archive/type2
IndexReport 1
DefaultContents TXT*
StoreDescription TXT 10000
ReplaceRules replace "/usr/local/www/data.type2/mail-archive/" "
http://type2.com/mail-archive/"
IndexFile /home/mail-archive/search/t2.index
Indexing command = swish3 -S mailfs -c t2.conf -i
/usr/local/www/data.type2/mail-archive/type2/*
As currently seen at http://type2.com/cgi-bin/swish.cgi , swishdescription
is lacking. Presumably because swish is doing what I ask of it and now what
I want of it.
Thoughts?
By the way Peter, this is now working fine on FreeBSD. Apologies for now
closing that thread out a while ago with a proper response. It started
working after an attempt at using Dezi, so I suspect a Perl module mishap
may have been contributing. Oh, and is the swishewiki down?
As always, thanks for the support everyone.
Troy
_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Oct 23 2012 - 15:25:45 GMT