Page MenuHomePhabricator

Backend work for cross-wiki search results: did you mean (DYM) recommendations
Closed, DeclinedPublic

Description

As part of the cross-wiki search results new functionality, we'll need to figure out how best to show 'did you mean' search result recommendations:

  • the "did you mean" (DYM) recommendations could become weird as terms from different indexes mingle, e.g.:
    • non-travel related terms (like "Einstein") could be suggested in wikivoyage
    • wikispecies has a lot of Latin and Latinized terms that may not be suggested anymore
    • or, in the other direction, could contaminate other projects
  • if we can set up a test instance of the multi-project index:
    • could run recent queries with DYM suggestions and see how many get different suggestions
  • more generally, anything based on "common" terms or inverse document frequency may be skewed by having merged indexes
    • i.e.: document scoring, spelling suggestions
  • can maybe work around this:
    • use special field per wiki suggest.wiktionary
    • would this take longer or use more server resources - to search differently for each project?