Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] (no subject)

From: Peter Karman <peter(at)>
Date: Sat Jul 05 2008 - 01:16:52 GMT
Michelangelo Rezzonico wrote on 7/4/08 7:49 AM:
> Hi all,
> in order to return the description in my search, I use the directive
> "StoreDescription".
> All works perfectly but sometimes in my search result I see the first lines
> of the document and not the text where the word is found.
> What is the problem ?
> Perhaps the first lines are considered the title of the document.
> How can I solve this problem ?

Try increasing the size of your StoreDescription property. The problem is that 
occasionally a document will match your query, but no matching words from your 
query are found in the first 200000 bytes (your current size) of the document, 
so instead swish.cgi shows the first N words instead.

> In my swish-e.conf I have the following two Directives:
> IndexContents TXT* .pdf .xls .msg .doc .rtf .txt .htm .html
> StoreDescription TXT* 200000

Peter Karman  .  .  peter(at)
Users mailing list
Received on Fri Jul 4 21:10:19 2008