Whoa you're right! In Firefox when I search for "color" the color article is first, but in Chrome "colorado" is first...
On Fri, Aug 15, 2014 at 7:07 AM, Jon Robson <jdlrob...@gmail.com> wrote: > JSON objects e.g. "pages":{} in this example have arbitrary sorting. > > I'm pretty sure mobile web gets the same JSON response as you but the > browser parses it into the object that gets rendered. You'll notice if > you search for 's' on Firefox San Francisco is the top article not > Spain as it is in Chrome. > > Mobile web should probably alphabetize them.. anyone want to raise a bug? > :) > > On Thu, Aug 14, 2014 at 10:54 PM, Monte Hurd <mh...@wikimedia.org> wrote: > > 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&format=json&gpssearch=s&generator=prefixsearch&prop=pageimages&action=query&gpsnamespace=0&pilimit=24&gpslimit=24 > > > > Do you see any problems with the query? > > > > Thanks! > > > > > > On Mon, Aug 11, 2014 at 11:21 PM, Max Semenik <maxsem.w...@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" <dbr...@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 > >> > > > > > > _______________________________________________ > > Mobile-l mailing list > > Mobile-l@lists.wikimedia.org > > https://lists.wikimedia.org/mailman/listinfo/mobile-l > > > > > > -- > Jon Robson > * http://jonrobson.me.uk > * https://www.facebook.com/jonrobson > * @rakugojon >
_______________________________________________ Mobile-l mailing list Mobile-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mobile-l