Skip to content

Commit

Permalink
[App Search] Relevance Tuning logic listeners (elastic#89461)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonStoltz committed Feb 10, 2021
1 parent 9d8296e commit b58446b
Show file tree
Hide file tree
Showing 6 changed files with 1,512 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,29 @@ export const RELEVANCE_TUNING_TITLE = i18n.translate(
'xpack.enterpriseSearch.appSearch.engine.relevanceTuning.title',
{ defaultMessage: 'Relevance Tuning' }
);

export const UPDATE_SUCCESS_MESSAGE = i18n.translate(
'xpack.enterpriseSearch.appSearch.relevanceTuning.messages.updateSuccess',
{
defaultMessage: 'Relevance successfully tuned. The changes will impact your results shortly.',
}
);
export const DELETE_SUCCESS_MESSAGE = i18n.translate(
'xpack.enterpriseSearch.appSearch.relevanceTuning.messages.deleteSuccess',
{
defaultMessage:
'Relevance has been reset to default values. The change will impact your results shortly.',
}
);
export const RESET_CONFIRMATION_MESSAGE = i18n.translate(
'xpack.enterpriseSearch.appSearch.relevanceTuning.messages.resetConfirmation',
{
defaultMessage: 'Are you sure you want to restore relevance defaults?',
}
);
export const DELETE_CONFIRMATION_MESSAGE = i18n.translate(
'xpack.enterpriseSearch.appSearch.relevanceTuning.messages.deleteConfirmation',
{
defaultMessage: 'Are you sure you want to delete this boost?',
}
);
Loading

0 comments on commit b58446b

Please sign in to comment.