Skip to main content.
home | support | download

Back to List Archive

Re: Defining Custom Properties

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Tue Sep 06 2005 - 12:01:39 GMT
On Tue, Sep 06, 2005 at 03:21:32AM -0700, andy rosbrook wrote:
> I dont think that this method works? I've tried to index with the following

Looks like the header name is "Name":

> $swish->HeaderNames returns only 'IgnoreTotalWordCountWhenRanking'

$ perl -MSWISH::API -le 'print join "\n", SWISH::API->new("index.swish-e")->HeaderNames' | grep -i name
Name


> 
> when i try: $swish->HeaderValue($index,'IndexName') this error is thrown:

$ perl -MSWISH::API -le 'print join "\n", SWISH::API->new("index.swish-e")->HeaderValue("index.swish-e", "Name")'
books

-- 
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 Tue Sep 6 05:01:41 2005