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
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Fri Dec 9 08:29:29 2005