read the docs again. StoreDescription is the config option you want.
Vsevolod (Simon) Ilyushchenko scribbled on 2/27/06 10:01 AM:
> I apologize if it's a FAQ, but I can't figure out how to make swish-e
> show the excerpts containing the search term, if it's possible at all.
> When I use swish.cgi, I get results like:
> 6 Chapter:7 Protocol:10 Mapping RNA with Nuclease S1 -- rank: 912
> Last Modified Date:
> Document Size: 43875
> Document Path:
> So the title 'Chapter:7 Protocol:10 Mapping RNA with Nuclease S1' shows
> up, but not the body, which actually contains the search term.
> I'm using swish-e 2.4.3 that indexes a bunch of static web pages fetched
> by the spider script (not visible from the Internet).
> The spider was run like this:
> /lib/swish-e/spider.pl spider.config > spider.output.txt
> then the contents was indexed like this:
> /bin/swish-e -c mc.swish.config -S prog -i stdin < spider.output.txt
> (and the output file contains the bodies).
> If I try the command line search:
> /bin/swish-e -w purchase -f index.swish-e
> I only get document titles without an option to show bodies - is that
> Here's the config file:
> IndexReport 3
> # Want to index main index file, so we index the root instead of "content".
> IndexDir .
> # Skip these folders:
> #FileRules dirname contains /generateditems/
> #FileRules dirname contains /images/
> #FileRules dirname contains /misc/
> #FileRules dirname contains /old/
> #FileRules dirname contains .noindex
> #FileRules dirname contains .no
> IndexOnly .jsp
> IndexContents HTML* .jsp
> # Must be here to be indexed as a searchable "field".
> # (except for swishdefault, which indexes everything).
> #MetaNames html title
> # This is so that the search field will show up as "title".
> #MetaNameAlias title swishtitle
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Mon Feb 27 08:56:43 2006