@@ -80,13 +80,13 @@ export const SearchApplicationAPI = () => {
@@ -98,7 +98,7 @@ export const SearchApplicationAPI = () => {
>
),
title: i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step1.setUpSearchtemplate.title',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step1.setUpSearchtemplate.title',
{
defaultMessage: 'Set up your search template',
}
@@ -110,13 +110,13 @@ export const SearchApplicationAPI = () => {
@@ -132,10 +132,10 @@ export const SearchApplicationAPI = () => {
iconSide="left"
iconType="plusInCircleFilled"
onClick={openGenerateModal}
- data-telemetry-id="entSearchApplications-safeSearchApi-step2-createApiKeyButton"
+ data-telemetry-id="entSearchApplications-searchApi-step2-createApiKeyButton"
>
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step2.createAPIKeyButton',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step2.createAPIKeyButton',
{
defaultMessage: 'Create API Key',
}
@@ -146,7 +146,7 @@ export const SearchApplicationAPI = () => {
KibanaLogic.values.navigateToUrl('/app/management/security/api_keys', {
shouldNotCreateHref: true,
@@ -154,7 +154,7 @@ export const SearchApplicationAPI = () => {
}
>
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step2.viewKeysButton',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step2.viewKeysButton',
{
defaultMessage: 'View Keys',
}
@@ -165,7 +165,7 @@ export const SearchApplicationAPI = () => {
>
),
title: i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step2.title',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step2.title',
{
defaultMessage: 'Generate and save API key',
}
@@ -177,7 +177,7 @@ export const SearchApplicationAPI = () => {
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step3.copyEndpointDescription',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step3.copyEndpointDescription',
{
defaultMessage: "Here's the URL for your endpoint:",
}
@@ -197,16 +197,16 @@ export const SearchApplicationAPI = () => {
>
),
title: i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step3.title',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step3.title',
{
- defaultMessage: 'Copy your Safe Search endpoint',
+ defaultMessage: 'Copy your Search endpoint',
}
),
},
{
children: ,
title: i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.step4.title',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.step4.title',
{
defaultMessage: 'Learn how to call your endpoint',
}
@@ -226,25 +226,25 @@ export const SearchApplicationAPI = () => {
iconType="iInCircle"
title={
}
>
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.safeSearchCallout.body.safeSearchDocLink',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.searchApiCallout.body.searchApiDocLink',
{
- defaultMessage: 'Safe Search API',
+ defaultMessage: 'Search API',
}
)}
@@ -256,7 +256,7 @@ export const SearchApplicationAPI = () => {
data-telemetry-id="entSearchApplications-searchTemplate-documentation-viewDocumentaion"
>
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.safeSearchCallout.body.searchTemplateDocLink',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.searchApiCallout.body.searchTemplateDocLink',
{
defaultMessage: 'search template',
}
@@ -267,20 +267,20 @@ export const SearchApplicationAPI = () => {
/>
{i18n.translate(
- 'xpack.enterpriseSearch.content.searchApplication.safeSearchApi.safeSearchCallout.body.safeSearchDocumentationLink',
+ 'xpack.enterpriseSearch.content.searchApplication.searchApi.searchApiCallout.body.searchApiDocumentationLink',
{
- defaultMessage: 'Learn more about the Safe Search API',
+ defaultMessage: 'Learn more about the Search API',
}
)}
diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_search_preview/engine_search_preview.tsx b/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_search_preview/engine_search_preview.tsx
index cde84312d81f..bfec3086c5e8 100644
--- a/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_search_preview/engine_search_preview.tsx
+++ b/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_search_preview/engine_search_preview.tsx
@@ -289,7 +289,7 @@ const ConfigurationPopover: React.FC = ({
onClick={() =>
navigateToUrl(
generateEncodedPath(SEARCH_APPLICATION_CONNECT_PATH, {
- connectTabId: SearchApplicationConnectTabs.SAFESEARCHAPI,
+ connectTabId: SearchApplicationConnectTabs.SEARCHAPI,
engineName,
})
)
diff --git a/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_view.tsx b/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_view.tsx
index 419b8a9d21e8..6b66c94f5ecf 100644
--- a/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_view.tsx
+++ b/x-pack/plugins/enterprise_search/public/applications/applications/components/engine/engine_view.tsx
@@ -97,7 +97,7 @@ export const EngineView: React.FC = () => {