On Mon, Nov 01, 2010 at 02:33:13PM +0000, Anthony Patrinos wrote:
When more than one results are returned they are ordered by title, therefore the backend ranking is corrupted. Is there anyway around this, besides asking for an output size of 1 and making repeated queries with successive offsets?
It looks to me like the API returns them ordered by ranking, compare [1] and [2]. It may be that whatever you use to parse the API return is reordering them.
[1] http://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=... [2] http://en.wikipedia.org/w/index.php?title=Special:Search&search=foo&...