Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] (null) problem - yes, I've read the FAQ

From: Tomasz Chmielewski <mangoo(at)not-real.wpkg.org>
Date: Mon Nov 26 2007 - 08:39:34 GMT
Peter Karman schrieb:
> 
> Tomasz Chmielewski wrote on 11/25/07 5:29 PM:
>> Tomasz Chmielewski schrieb:
>>> My first attempts to search with swish.cgi displayed some (null) entries 
>>> on a page with results.
>>>
>>> So, I read the fine manual, and the solution was easy - add this to the 
>>> config file, and reindex:
>>>
>>>    StoreDescription HTML* <body> 2000
>>>
>>> So I reindexed, the (null) entries are gone, but nothing shows up 
>>> instead. According to the documentation: "That tells swish to store the 
>>> first 200,000 characters of text extracted from the body of each 
>>> document parsed by the HTML parser".
>>>
>>> 2000 characters are enough for me - but it just doesn't show anything. 
>>> Am I doing anything wrong?
>> Looks like adding:
>>
>> IndexContents HTML .html
>>
> 
> I would expect you'd need:
> 
>  IndexContents HTML* .html
> 
> to match the parser syntax in StoreDescription. Note the * after HTML.

Without the asterisk (*), it works just fine for me.
What difference does it make?


-- 
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Nov 26 03:39:44 2007