Page MenuHomePhabricator

OpenSearch should check all available variant
Open, MediumPublicFeature

Description

On a wiki with language converter enabled, opensearch can try to convert the search keyword to all available variant, and do opensearch with them individually as how OpenSearch does currently, then combine the results and send the user. Some algorithm may be needed to sort the results.


Version: 1.17.x
Severity: enhancement

Details

Reference
bz24059

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:59 PM
bzimport added a project: MediaWiki-Search.
bzimport set Reference to bz24059.

Maybe sorting by title lengths is ok, but what if some of them are equal?

Bryan.TongMinh wrote:

For the default search backend (i.e. ApiQueryAllPages), adding the converttitles parameter to the FauxRequest in PrefixSearch::defaultSearchEgine should suffice, but that won't solve the Wikimedia case.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 12:24 PM