On 03/20/2008 08:00 AM, Dr Michael Daly wrote:
> This is what I have, and it works:
> IndexContents HTML* .htm .html .shtml
> IndexContents TXT* .txt .log .text .pdf
> IndexContents XML* .xml
>
>
> # Otherwise, use the HTML parser
> DefaultContents HTML*
>
>
> StoreDescription HTML <body> 200
> StoreDescription XML <desc> 200
> StoreDescription TXT 200
>
>
That example likely only works because your swish-e is not compiled with libxml2.
The docs (http://swish-e.org/docs/swish-config.html#storedescription) clearly state that
the parser type must match. The easiest way is to always use the *:
IndexContent HTML* .html .htm
StoreDescription HTML* <body> 20000
> <mailto:users-bounces@lists.swish-e.org>] *On Behalf Of *Mohamed Iqbal
> *Sent:* Thursday, 20 March 2008 3:39 AM
> *To:* Swish-e Users Discussion List
> *Subject:* Re: [swish-e] display the summary (content) when you search
>
> Hi,
> Today i changed my swish.conf with the option
> IndexContents HTML2 .html
> IndexContents HTML2 .htm
> StoreDescription HTML <body> 200000
> Still the same result, only shwoing the dir path, modified time and
> size.
> Any help me to display the summary of the documents(atleast few
> lines from the doc)
Try:
IndexContents HTML* .html .htm
StoreDescription HTML* <body> 200000
--
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu Mar 20 10:52:43 2008