On Thu, Jan 20, 2005 at 08:44:03AM -0800, Peter Karman wrote:
> but is there a way to get the index file name as well from the $result
> object? I don't immediately see it (could be I'm overtired...)
Not that I remember. But you could have a one-line function something
like:
all untested, of course...
char *SwishResultIndexName( RESULT *result )
{
return result->db_results->indexf->line;
}
Then in API.xs add:
char *
SwishResultIndexName( self )
SW_RESULT self
Then in perl do:
$index = $result->IndexName;
--
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 Thu Jan 20 09:49:08 2005