Skip to main content.
home | support | download

Back to List Archive

Re: Improving SwishDescriptions

From: Bill Moseley <moseley(at)>
Date: Fri Dec 09 2005 - 16:29:28 GMT
On Fri, Dec 09, 2005 at 07:58:54AM -0800, Peter Karman wrote:
> > any ideas on how i can improve descriptions? My only idea was to grab a huge 
> > description and chop it down manually with perl 100 words either side of the 
> > first occurence of the search term.
> > 
> see my SWISH::HiLiter Perl module on CPAN for code that does that snipping of 
> contextual text. It also will highlight search terms in the snippet.

The default PhraseHighlight does that, too.

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:
Received on Fri Dec 9 08:29:29 2005