On Thu, Oct 8, 2015 at 6:42 AM, <[email protected]> wrote: > Well... My doubt is: what thing exactly refers to the «index» parameter in > «pages» objects? At first instance, I believed it was the index of the same > page in the «search» array of objects. That seems logic. >
That's close. It's the order that the pages were returned in by generator=search. > But, when using that, sometimes certain indexes simply don't match (they > pair «pageid» from one page with «titlesnippet», «snippet», etc from > another page). > You may notice that submitting the same list=search query will sometimes give different results, i.e. the search engine ordering of results isn't completely deterministic. When you see such a mismatch between the indexes in the pages produces by generator=search and the list produced by list=search, the same thing happened between the two searches. -- Brad Jorsch (Anomie) Senior Software Engineer Wikimedia Foundation
_______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
