Skip to main content.
home | support | download

Back to List Archive

RE: <swishdecription> returning blank?

From: Tim Hartley <tim.hartley(at)not-real.planetpdf.com>
Date: Thu Oct 28 2004 - 07:47:26 GMT
Ok I just tried swapping StoreDescription HTML2 <tbody> 2000, with the extra line PropertyNames tbody added also, and I'm still getting the blanks where swishdescription should be. My config file now looks like:
---Config file---
IndexFile c:\swish-e\ForumVirtualIndex.index
IndexDir C:/Inetpub/VirtualRoot/planetpdfforumarchive
IndexOnly .asp
StoreDescription HTML2 <tbody> 2000
FileRules filename is forum6\.asp
FileRules filename is forum52\.asp
FileRules filename is forum2\.asp
FileRules filename is forum3\.asp
FileRules filename is forum5\.asp
FileRules filename is forum34\.asp
FileRules filename is forum9\.asp
FileRules filename is forum68\.asp
FileRules filename is forum18\.asp
FileRules filename is forum73\.asp
FileRules filename is forum4\.asp
FileRules filename is forum7\.asp
FileRules filename is forum12\.asp
FileRules filename is attachlist\.asp
IndexReport 3
PropertyNames tbody
ReplaceRules Replace "C:/Inetpub/VirtualRoot/planetpdfforumarchive" "http://www.planetpdf.com/forumarchive"
---end file---

--excerpt of results----
(of the format <swishrank>|<swishtitle>|<swishdocpath>|<swishlastmodified>|<swishdescription>)

# SWISH format: 2.4.2 # Search words: eat # Removed stopwords: # Number of hits: 30 # Search time: 0.110 seconds # Run time: 0.125 seconds
1000|Planet PDF Forum Archive - Is that all there is to it?|http://www.planetpdf.com/forumarchive/23527.asp|2004-09-03 13:23:52 AUS Eastern Standard Time|
633|Planet PDF Forum Archive - explain|http://www.planetpdf.com/forumarchive/91118.asp|2004-09-03 13:06:36 AUS Eastern Standard Time|

Note the blanks after the <swishlastmodified>| section. :(

-t



-----Original Message-----
From: Peter Karman [mailto:karpet@peknet.com]
Sent: Thursday, 28 October 2004 5:01 PM
To: Tim Hartley
Cc: Multiple recipients of list
Subject: Re: [SWISH-E] <swishdecription> returning blank?




Tim Hartley wrote on 10/27/04 9:07 PM:

> Hi Bill, all.
> 
> I'm using the File Access method to index a folder of .asp files (as it can do it waaaaaaaay quicker than spidering them)
> Anyway, I'm having problems in that it doesn't seem to be getting any values in the <swishdescription>, so my results are coming back with the <swishrank><swishtitle><swishdocpath><swishlastmodified>, but NOT <swishdescription>. All my other indexes return it. Mind you they use either the dirtree.pl or swishspider.pl to create the indexes. Anyway, details follow:

> StoreDescription HTML2 <swishdescription> 2000


I believe that the StoreDescription <tag> syntax is for the tag in the 
source you want to include from, not for the swish property name. Is 
there a tag called 'swishdescription' in your source files? otherwise, 
you likely want <body> instead.

-- 
Peter Karman  peter@peknet.com  651.208.6116
Received on Thu Oct 28 00:47:26 2004