https://bugzilla.wikimedia.org/show_bug.cgi?id=73623

--- Comment #19 from Brad Jorsch <bjor...@wikimedia.org> ---
(In reply to Nik Everett from comment #17)
> The list shouldn't drastically change but it will change some.  How drastic 
> are
> the changes?

The changes don't seem to be very drastic; in some quick checking, it seems to
mainly be in the ordering of the results. For example, in one query using only
list=prefixsearch "Fisherman's Atlantic City Wind Farm" was at #14 while it
dropped to #16 when the query was repeated, with no change in the relative
order of any of the other 24 results.

> Also, are there things from the search results that you need that you can't
> get by using it as a generator?  As in, if we allowed generators to return
> things in order somehow would that be enough for you to only make a single
> call?

Allowing generators to return things in order isn't likely to happen. More
likely is that generator=prefixsearch would be able to add an 'index' field
into the hashes inside the 'pages' hash, so the client could sort based on that
field's value.

More thoughts on this are at
https://www.mediawiki.org/wiki/API/Architecture_work/Planning#Allow_generators_to_provide_data

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to