Skip to content

Commit

Permalink
[Ent Search Deprecation] Update enterprise_search URLs for elasticsea…
Browse files Browse the repository at this point in the history
…rch -> getting_started (elastic#203177)

This PR resolves this
elastic/search-team#7961. In this PR, we
changed the following Urls by replacing 'enterprise_search' with
'elasticsearch'.


| Old URL | New URL |
| :------------------------------------- |
:------------------------------------- |
| app/enterprise_search/elasticsearch | app/elasticsearch/elasticsearch
|
| app/enterprise_search/vector_search | app/elasticsearch/vector_search
|
| app/enterprise_search/semantic_search |
app/elasticsearch/semantic_search |
| app/enterprise_search/ai_search | app/elasticsearch/ai_search |

Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
saikatsarkar056 and elasticmachine authored Dec 10, 2024
1 parent 4b0c0e9 commit 9df6f37
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions x-pack/plugins/enterprise_search/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const AI_SEARCH_PLUGIN = {
defaultMessage:
'Toolkit for enabling developers to build AI search-powered applications using the Elastic platform.',
}),
URL: '/app/enterprise_search/ai_search',
URL: '/app/elasticsearch/ai_search',
LOGO: 'logoEnterpriseSearch',
};

Expand Down Expand Up @@ -101,7 +101,7 @@ export const ELASTICSEARCH_PLUGIN = {
DESCRIPTION: i18n.translate('xpack.enterpriseSearch.elasticsearch.productDescription', {
defaultMessage: 'Low-level tools for creating performant and relevant search experiences.',
}),
URL: '/app/enterprise_search/elasticsearch',
URL: '/app/elasticsearch/elasticsearch',
SUPPORT_URL: 'https://discuss.elastic.co/c/elastic-stack/elasticsearch/',
};

Expand Down Expand Up @@ -179,7 +179,7 @@ export const VECTOR_SEARCH_PLUGIN = {
defaultMessage: 'Vector Search',
}),
SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/',
URL: '/app/enterprise_search/vector_search',
URL: '/app/elasticsearch/vector_search',
};

export const SEMANTIC_SEARCH_PLUGIN = {
Expand All @@ -196,7 +196,7 @@ export const SEMANTIC_SEARCH_PLUGIN = {
defaultMessage: 'Semantic Search',
}),
SUPPORT_URL: 'https://discuss.elastic.co/c/enterprise-search/',
URL: '/app/enterprise_search/semantic_search',
URL: '/app/elasticsearch/semantic_search',
};

export const CREATE_CONNECTOR_PLUGIN = {
Expand Down Expand Up @@ -224,7 +224,7 @@ export const ENTERPRISE_SEARCH_AUDIT_LOGS_SOURCE_ID = 'ent-search-audit-logs';
export const ENTERPRISE_SEARCH_ANALYTICS_LOGS_SOURCE_ID = 'ent-search-analytics-logs';

export const APP_SEARCH_URL = '/app/enterprise_search/app_search';
export const ENTERPRISE_SEARCH_ELASTICSEARCH_URL = '/app/enterprise_search/elasticsearch';
export const ENTERPRISE_SEARCH_ELASTICSEARCH_URL = '/app/elasticsearch/elasticsearch';
export const WORKPLACE_SEARCH_URL = '/app/enterprise_search/workplace_search';
export const CREATE_NEW_INDEX_URL = '/search_indices/new_index';
export const PLAYGROUND_URL = '/playground';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,28 +115,28 @@ const baseNavItems = [
items: [
{
'data-test-subj': 'searchSideNav-Elasticsearch',
href: '/app/enterprise_search/elasticsearch',
href: '/app/elasticsearch/elasticsearch',
id: 'elasticsearch',
items: undefined,
name: 'Elasticsearch',
},
{
'data-test-subj': 'searchSideNav-VectorSearch',
href: '/app/enterprise_search/vector_search',
href: '/app/elasticsearch/vector_search',
id: 'vectorSearch',
items: undefined,
name: 'Vector Search',
},
{
'data-test-subj': 'searchSideNav-SemanticSearch',
href: '/app/enterprise_search/semantic_search',
href: '/app/elasticsearch/semantic_search',
id: 'semanticSearch',
items: undefined,
name: 'Semantic Search',
},
{
'data-test-subj': 'searchSideNav-AISearch',
href: '/app/enterprise_search/ai_search',
href: '/app/elasticsearch/ai_search',
id: 'aiSearch',
items: undefined,
name: 'AI Search',
Expand Down Expand Up @@ -220,22 +220,22 @@ const mockNavLinks = [
{
id: 'enterpriseSearchElasticsearch',
title: 'Elasticsearch',
url: '/app/enterprise_search/elasticsearch',
url: '/app/elasticsearch/elasticsearch',
},
{
id: 'enterpriseSearchVectorSearch',
title: 'Vector Search',
url: '/app/enterprise_search/vector_search',
url: '/app/elasticsearch/vector_search',
},
{
id: 'enterpriseSearchSemanticSearch',
title: 'Semantic Search',
url: '/app/enterprise_search/semantic_search',
url: '/app/elasticsearch/semantic_search',
},
{
id: 'enterpriseSearchAISearch',
title: 'AI Search',
url: '/app/enterprise_search/ai_search',
url: '/app/elasticsearch/ai_search',
},
];

Expand Down
6 changes: 3 additions & 3 deletions x-pack/test/accessibility/apps/group3/enterprise_search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

describe('Elasticsearch', () => {
before(async () => {
await common.navigateToApp('enterprise_search/elasticsearch');
await common.navigateToApp('elasticsearch/elasticsearch');
});

it('loads a setup guide', async function () {
Expand Down Expand Up @@ -146,7 +146,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
describe('Vector Search', () => {
before(async () => {
await common.navigateToApp('enterprise_search/vector_search');
await common.navigateToApp('elasticsearch/vector_search');
});

it('loads Vector Search page', async function () {
Expand All @@ -159,7 +159,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
describe('AI Search', () => {
before(async () => {
await common.navigateToApp('enterprise_search/ai_search');
await common.navigateToApp('elasticsearch/ai_search');
});

it('loads AI Search page', async function () {
Expand Down

0 comments on commit 9df6f37

Please sign in to comment.