Skip to main content.
home | support | download

Back to List Archive

Re: 2.4, SWISH API and maxhits

From: Peter Karman <karman(at)not-real.cray.com>
Date: Fri Sep 03 2004 - 00:51:44 GMT
Are you thinking of:

$results->Hits

?

or perhaps:

$results->SeekResult( $position );
            Seeks to the position specified in the result list.  Zero is the
            first position and $results->Hits-1 is the last position. 
Seeking
            past the end of results sets a non-critical error condition.

            Useful for seeking to a specific "page" of results.


?



Del Kimbler wrote on 9/2/04 7:19 PM:

> Recently upgraded from 2.2 and modified my old perl script to use SWISH 
> API.  All works , except that I can't find out how to use the maxhits 
> parameter.  We use this in several web scripts.  I have looked through the 
> documentation and searched the archives, but find no mention in this 
> context.  I note that it still works in command-line execution, but can't 
> find how to set this property (is it a property of the handle object, 
> search object?) using API.
> 
> Del
> 
> 
> D. L. Kimbler, Ph.D., P.E.
> Professor of Industrial Engineering
> Clemson University
> (864)656-5645 

-- 
Peter Karman  651-605-9009  karman@cray.com
Received on Thu Sep 2 17:52:01 2004