> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Bill Moseley
> Sent: Friday, May 07, 2004 4:29 PM
> To: Multiple recipients of list
> Subject: [SWISH-E] Re: Unknown property data type
> On Fri, May 07, 2004 at 01:10:36PM -0700, David Fishburn wrote:
> > Swish-e 2.4.2 RH9
> > I am using search.cgi.
> > I am using a spider to index a site. It seems that not all
> > have some of the standard attributes (swishdescription,
> swishtitle, ...).
> > Here is an example:
> > ***
> > perl search.cgi query=unix
> > Content-Type: text/html; charset=ISO-8859-1
> > undef error - Unknown property data type '-1' for property
> Is that the real error? Here's what I see in the code:
> progerr("Swish-e database error. Unknown property type
> accessing property '%s'", propname);
> progwarn("Invalid property type for property '%s'\n",
> meta_entry->metaName );
> Anyway, that would be a problem. Can you provide the pages
> and a simple config so I can reproduce the problem?
Here is a small repro for you:
I couldn't figure out how to tell spider.pl to index *only* my URLs instead
of spider from there, but the results here are pretty small anyway.
Unzip the above into an empty directory.
Change line 99 in search.cgi to point it to your index location, it is
index => '/home/fishburn/dev/ami/support/index.swishe', # index to
swish-e -c swish.conf -S prog
If you run the following:
perl search.cgi query=unix
You will get:
undef error - Unknown property data type '-1' for property 'swishtitle'
If you can offer my better debugging techniques I would appreciate it.
Let me know if I have missed anything you need.
Received on Wed May 19 20:16:26 2004