Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ent Search Deprecation] Update enterprise_search URLs for elasticsearch -> getting_started #203177

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading