1
0
mirror of synced 2026-02-03 00:02:00 -05:00

Merge pull request #34375 from github/repo-sync

Repo sync
This commit is contained in:
docs-bot
2024-08-21 14:30:13 -07:00
committed by GitHub
2 changed files with 3 additions and 8 deletions

View File

@@ -117,8 +117,6 @@ sections:
When restoring data originally backed up from a 3.13 appliance onto a 3.13 appliance, the elasticsearch indices need to be reindexed before some of the data will show up. This happens via a nightly scheduled job. It can also be forced by running `/usr/local/share/enterprise/ghe-es-search-repair`.
- |
The global search bar does not have suggestions enabled due to the redesigned navigation and pending new search experience.
- |
Hotpatching in Azure fails with a `rsync` error.
- |
When restoring from a backup snapshot, a large number of `mapper_parsing_exception` errors may be displayed.
- |

View File

@@ -46,12 +46,9 @@ export default async function contextualizeSearch(req, res, next) {
}
}
// Feature flag
if (
['enterprise-cloud', 'enterprise-server'].includes(req.context.currentVersion.split('@')[0])
) {
search.aggregate = ['toplevel']
}
// This enables so that when the search is sent to Elasticsearch
// it will request an aggregate by these keyword fields.
search.aggregate = ['toplevel']
req.context.search = { search, validationErrors }