Re: [Tracker] Get search result from specified offset?



Mikkel Kamstrup Erlandsen wrote:
Say I want to add paged search results to Barracuda, showing 100 per hits per page. How would I do this optimally?

My first intuition tells me that I should do to like this (symbolically speaking) tracker_query(String query, int offset, int numHits), with numHits=100 and offset=0 for the first page, offset=100 for the second page etc. This is not possible with the current tracker api though.

offset api and functionality now in cvs on all search methods.



--
Mr Jamie McCracken
http://jamiemcc.livejournal.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]