HomePhabricator

Updated mediawiki/extensions Project: mediawiki/extensions/CirrusSearch…

Authored by Smalyshev.

Description

Updated mediawiki/extensions Project: mediawiki/extensions/CirrusSearch 783a36aa7437f02d4b1799df4abba87c0d20501e

API for _suggest for Elasticsearch

Task: T106129
Aggregate and resolve suggestions

This merges together all the suggest results, sorts by score,
takes the top $limit results and resolves those into a final result
of the page title and suggestion score.

I think the scores themselves arn't working right yet, always getting
either 1 or 0. But this code should all work right once that starts
returning a proper score.

Not sure if we will need a more complicated merge or not, tbd.

Change-Id: I9c36b9c02a23c30038b1f0d8e8b8a9e310829e7e

Event Timeline

Gerrit Code Review <gerrit@wikimedia.org> committed rMEXT00df61c8e8a3: Updated mediawiki/extensions Project: mediawiki/extensions/CirrusSearch… (authored by Stanislav Malyshev <smalyshev@gmail.com>).Aug 14 2015, 10:27 PM