On Mon, Sep 05, 2005 at 08:08:06AM -0700, andy rosbrook wrote:
> > $prop = $result->Property('category');
>
> This is what i would be after, but am i able to define the property category
> inside the config file? I have an automated system which generates
> swish.config for diffrent file types and indexes, so i was thinking i could
> also add what category the results are from.
> Eg.
>
> www.books.com
> www.google.com
>
> might belong to the 'resource' category.
>
> So a seprate indexes will have seprate property values as i write the config
> through perl.
Why not?:
my $resource = $swish->HeaderValue( 'IndexName' );
> This is a possible solution, i could simply set IndexDescription as 'books',
> can this property be retrived using the API?
I think so.
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Mon Sep 5 10:25:51 2005