Marvin Humphrey wrote on 11/13/12 6:38 PM:
> On Tue, Nov 13, 2012 at 9:47 AM, Peter Karman <[email protected]> wrote:
>> On 11/13/12 11:33 AM, Marvin Humphrey wrote:
>>
>>> I would oppose a seek() which runs implicit searches behind the scenes
>>> because it would surprise users with a hidden performance cost.
>>
>> I was imagining that $hits->seek() would just adjust the iterator pointer,
> 
> Why not just use the `offset` parameter to Searcher#hits?  So long as
> rerunning the search is ruled out, adding seek() offers little functionality
> beyond what we already get from `offset`.
> 

point taken. I re-read the swish-e docs just now and seek_result() does just
what offset does.

/me retracts

-- 
Peter Karman  .  http://peknet.com/  .  [email protected]

Reply via email to