Page MenuHomePhabricator

Backend work for cross-wiki search results: do we want/need to have per wiki completion searches
Closed, DeclinedPublic

Description

As part of the cross-wiki search results new functionality, we'll need to figure out if we want (or need) to have per wiki completion searches.

  • it's not possible to merge existing completion suggesters
    • and we don't want to
  • how should we display results and UI to control local vs cross-project searching?
  • integrated results require a single index (for scoring and pagination)
  • displaying namespaces is hard
    • namespaces can be translated by user language
    • we should probably use canonical language from the source wiki
  • namespace filters cause problems
    • possible solutions:
      • only get cross-wiki results in default namespace
      • namespace searches are all local
  • see T139504

Event Timeline

debt updated the task description. (Show Details)

I think we've agreed that completion search will still be specific to the current wiki, things would just get confusing otherwise.

Once we unify the indices though the current completion search will incorrectly build against all the wiki's in the index. We will need to adjust the build process to filter down to only the doc's in the index that match the current wiki (relatively easy). This ticket could either be declined, or repurposed to adjust the completion suggester build process as necessary.

Based on the comment by @EBernhardson, we'll close this as declined.