Hey Max, I'm trying using the same generator query that mobile web uses, but I'm getting a different results order as well.
The first result of the following (searching for "s") returns San Francisco as the first result, but when I search using mobile web the first result is Spain.
https://en.m.wikipedia.org/w/api.php?piprop=thumbnail&pithumbsize=144&am...
Do you see any problems with the query?
Thanks!
On Mon, Aug 11, 2014 at 11:21 PM, Max Semenik maxsem.wiki@gmail.com wrote:
They're powered by the same code, producing identical results, web uses prefixsearch because it can be used as a generator. However, the order of results might be different because the API has its own ideas about sorting of page set returned by generators. Maryana, we already discussed this briefly before WM, do you want me to work on this after my vacation? 11.08.2014 18:47 пользователь "Dmitry Brant" dbrant@wikimedia.org написал:
I was just looking at the Mobile Web search functionality, and I noticed that the drop-down list of search results in Mobile Web is different from the list in our native apps for the same search term. It looks like Mobile Web uses prefixsearch, whereas the apps are using opensearch.
I'm curious what was the rationale for using a different API in the apps? (Wouldn't we want the search results to be consistent between the Apps and Mobile Web?)
-Dmitry
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l
Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l