[Xesam] Need paged search mode for xesam
Jos van den Oever
jvdoever at gmail.com
Wed May 7 03:07:17 PDT 2008
2008/5/6 Jamie McCracken <jamie.mccrack at googlemail.com>:
> 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
More information about the Xesam
mailing list