Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Document Summary not displaying on Results page

From: Peter Karman <peter(at)>
Date: Thu Feb 19 2009 - 14:37:06 GMT
Jay Larson wrote on 02/18/2009 04:30 PM:
> But only for the spidering method.
> I have several configurations set up to index our intranet.  The bulk of the content is indexed using the file system.  Any information stored in a database, I have created pages that just list the records with a link to the page that will display the information.  I then have a config file use the spidering with a depth of 2 to index the pages that display the individual records in the intranet format.
> The pages that are indexed with the filesystem display fine, search words are highlighted, proper number of words around highlighted word, all that.  But any of the results that are indexed via the spidering get returned, and are correct, don't display anything for the body.
> A sample of one of the config files:
> IndexDir 
> IndexFile /www/
> IndexName "News index"
> IndexDescription "This is an index for the News articles."
> IndexPointer ""
> IndexAdmin "Jay Larson," 
> MetaNames swishtitle swishdocpath first author dept
> IndexContents HTML* .htm .html .shtml .asp
> IndexContents TXT*  .txt .log .text .pdf
> IndexContents XML*  .xml
> StoreDescription HTML* <body> 10000
> StoreDescription TXT* 10000
> IndexReport 0
> ParserWarnLevel 9 
> IgnoreTotalWordCountWhenRanking yes
> ReplaceRules replace "" ""
> ReplaceRules replace "" ""
> WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
> IndexComments 0
> MaxDepth 2
> Delay 0
> TmpDir /home/username/swish/temp/
> SpiderDirectory /usr/local/swish-e-2.2.3/src/
> As you can see, the version is 2.2.3.  It is on our list to upgrade this year.

StoreDescription is the config param that controls what body text is
displayed. I have no idea how/if that worked under 2.2 vs. 2.4.

I would suggest creating a test index using a single doc via the spider
and the -T option to see what is stored for the swishdescription property.

Peter Karman  .  peter(at)  .

Users mailing list
Received on Thu Feb 19 09:37:06 2009