Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] swishdescription not showing in search results

From: at <Troy>
Date: Tue, 30 Oct 2012 13:18:19 -0700
No go. Here is the config file after making those mods.

[user(at)not-real.purple /home/mail-archive/search]# cat t2.conf
IndexDir /usr/local/www/data.type2/mail-archive/type2
IndexReport 3
ReplaceRules replace "/usr/local/www/data.type2/mail-archive/" "
http://type2.com/mail-archive/"
IndexFile /home/mail-archive/search/t2.index

Calling it via this command...

swish3 -S mailfs -c t2.conf -i
/usr/local/www/data.type2/mail-archive/type2/*


I've made some other mods to the .swish.conf file as I've introduced other
indexes, so here is that as well.

use lib ( '/usr/local/lib/swish-e/perl' );
return {
        title                   => 'Type2.com Search',
        page_size               => 20,
        swish_binary            => '/usr/local/bin/swish-e',
        display_props           => [qw/ swishlastmodified swishtitle
swishdescription /],
        swish_index             =>
['/home/mail-archive/search/library.index/index.swish-e',

'/home/mail-archive/search/vb.index/index.swish-e',

'/home/mail-archive/search/t2.index/index.swish-e'],
        select_indexes          => {
            method  => 'checkbox_group',
            labels  => [ 'Technical Library', 'Vintage Bus emails', 'Type2
emails'],
            description => 'Select source(s): ',
            },
        name_labels             => {
           swishdefault         => 'Search All',
           swishdescription     => 'Summary',
           swishtitle           => 'Subject',
           swishlastmodified    => 'Date',
           swishrank            => 'Score',
           swishdocpath         => 'Location',
           }
}


On Tue, Oct 30, 2012 at 9:36 AM, Peter Karman <peter(at)not-real.peknet.com> wrote:

> On 10/29/12 9:55 PM, Troy Wical wrote:
>
> > DefaultContents XML*
> > StoreDescription XML* <part> 10000
>
>
> try removing those 2 lines altogether. I just added this test to the
> SWISH::Prog svn trunk and it works without those lines.
>
> http://dev.swish-e.org/changeset/3249#file27
>
>
> --
> Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
> _______________________________________________
> Users mailing list
> Users(at)not-real.lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
>


_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Oct 30 2012 - 20:18:22 GMT