Folks:
I'm having a nasty time getting the PropertyList method to work in the
Perl API; calls to it seem to just hang indefinitely, and strace is
little help.
In context:
my $swh = SWISH::API -> new('/some/index/somewhere.index
/yet/another/index.index');
foreach my $db($swh -> IndexNames){
my (@res) = $swh -> PropertyList($db);
foreach my $r (@res){
push @props, $r -> Name();
}
}
Hangs in the debugger at the first call to PropertyList(). I checked
the archive, but the only discussion of PropertyList is as a method for
SwishResult, not a swish handle. The documentation curiously says that
PropertyList's one parameter is an "open" index file -- is this
significant in some way I'm just not getting?
t.
--
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Thomas R. Bruce (trb2@cornell.edu)
Director, Legal Information Institute
Cornell Law School
http://www.law.cornell.edu/
"We had a knob. All we had to do was turn it."
-- Les Paul
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Received on Wed Oct 12 05:41:30 2005