[Xesam] Need paged search mode for xesam

Jos van den Oever jvdoever at gmail.com
Wed May 7 07:29:41 PDT 2008


2008/5/7 Jamie McCracken <jamie.mccrack at googlemail.com>:
>  we need ranges in order to search efficiently - having potentially
>  random hit IDs passe to that function means we cannot optimise (no way
>  to tell in advance if its a range)
>
>  Its so bad that we will add an extension GetPagedHits ourselves if no
>  one else wants it!

You're seeing ghosts. It's trivial and very quick to check if a range
of numbers is sequential.
If it's sequential, you can use your optimized range function, if not,
get the hits one by one. For the later you need a function anyway.

Adding a proprietary extension over such a non-issue is rather sad.

Cheers,
Jos


More information about the Xesam mailing list