Skip to main content.
home | support | download

Back to List Archive

Ranking problem in second iteration of results

From: <PFinch(at)not-real.cch.com.au>
Date: Tue Nov 18 2003 - 01:25:32 GMT
Hi,

I'm using the Swish-e C API and I'm having a problem with
the ranking. I have to iterate over the results 2 times and for
some reason the second pass through the results I get back
incorrect ranks for the document. Does anyone have any ideas
on what night be wrong please?


for(nRun = 0; nRun < 2; nRun++)
{
SwishSearch(
            pConfig->pSwish,
            pConfig->szSwishQueryString,
            1,
            NULL,
            NULL) ;
 SwishSeek(pConfig->pSwish, pConfig->nStartAtResult - 1) ;
 while((pConfig->pCurrentResult = SwishNext(pConfig->pSwish))!=NULL)
{
      yadayadayada()
}
}

Cheers,
Peter Finch
Received on Tue Nov 18 01:25:43 2003