Page MenuHomePhabricator

Add a field to elasticsearch documents identifying the project it is from
Closed, ResolvedPublic

Description

To support multiple projects in the same index we need to be able to do various actions at search time depending on which project it belongs to. Examples might be giving a boost to documents from the wiki the search is being performed on, or limiting the search to only a specific project. Support this by adding a new field identifying it and the appropriate support code to utilize it when searching.

Event Timeline

debt triaged this task as Medium priority.Jul 6 2016, 9:13 PM

Change 299104 had a related patch set uploaded (by EBernhardson):
Add a field to page documents identifying source wiki

https://gerrit.wikimedia.org/r/299104

Change 299104 merged by jenkins-bot:
Add a field to page documents identifying source wiki

https://gerrit.wikimedia.org/r/299104