2008/5/6 Jamie McCracken <[EMAIL PROTECTED]>: > hit_ids are not sequential!
They are sequential. From the spec: "The hit_ids argument is an array of serial numbers as per hit entries returned by GetHits." The current spec requires that the server keep a list of all uris mapped to hit ids somehow. Of you know the index will not change you can rerun the query. There is no need to fetch a single uri via GetHits. The HitsAdded signal tells you how many hits there. You do not have to use GetHits at all. If you use GetHitData exclusively for getting the data, you basically are paging. So the current spec is fine for sequential access _and_ paging. Cheers, Jos _______________________________________________ Xesam mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xesam
