Skip to main content.
home | support | download

Back to List Archive

Re: Description choice...

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Thu Jan 27 2005 - 16:51:46 GMT
(please don't reply to existing messages)


On Thu, Jan 27, 2005 at 08:27:39AM -0800, John Almberg wrote:
> When displaying results, some of the time the description is what you
> would expect... the text surrounding the search term found on the page.
> In this case, the search term is highlighted (using the default template
> for swish.cgi).
> 
> However, at other times, the description is simply the first n words on
> the page, which isn't very interesting or useful.

If no words are found to highlight then it just displays the first
(IIRC) 100 words.

That happens often when indexing large docs but not all the text of
the doc was stored in the property.  (i.e. if the number in the
StoreDescription is less than the size of the doc.)

-- 
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 Thu Jan 27 08:51:48 2005