Search: remove appSearch & workplaceSearch doclinks (#206506)

## Summary

Removing App Search & Workplace Search doclink, which are now unused.
This commit is contained in:
Rodney Norris 2025-01-14 14:51:04 -06:00 committed by GitHub
parent 9c01db9744
commit 87d349b3eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 323 deletions

View file

@ -33,10 +33,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
const OBSERVABILITY_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/`;
const APM_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/apm/`;
const SECURITY_SOLUTION_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/security/${DOC_LINK_VERSION}/`;
const APP_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/app-search/${DOC_LINK_VERSION}/`;
const ENTERPRISE_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/enterprise-search/${DOC_LINK_VERSION}/`;
const ESRE_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/esre/${DOC_LINK_VERSION}/`;
const WORKPLACE_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/workplace-search/${DOC_LINK_VERSION}/`;
const SEARCH_UI_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/search-ui/current/`;
const MACHINE_LEARNING_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/machine-learning/${DOC_LINK_VERSION}/`;
const SERVERLESS_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/serverless/current/`;
@ -120,33 +118,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
auditdModule: `${ELASTIC_WEBSITE_URL}guide/en/beats/auditbeat/${DOC_LINK_VERSION}/auditbeat-module-auditd.html`,
systemModule: `${ELASTIC_WEBSITE_URL}guide/en/beats/auditbeat/${DOC_LINK_VERSION}/auditbeat-module-system.html`,
},
appSearch: {
adaptiveRelevance: `${APP_SEARCH_DOCS}curations-guide.html#curations-reference-adaptive-relevance`,
apiRef: `${APP_SEARCH_DOCS}api-reference.html`,
apiClients: `${APP_SEARCH_DOCS}api-clients.html`,
apiKeys: `${APP_SEARCH_DOCS}authentication.html#authentication-api-keys`,
authentication: `${APP_SEARCH_DOCS}authentication.html`,
crawlRules: `${APP_SEARCH_DOCS}crawl-web-content.html#crawl-web-content-manage-crawl-rules`,
curations: `${APP_SEARCH_DOCS}curations-guide.html`,
duplicateDocuments: `${APP_SEARCH_DOCS}web-crawler-reference.html#web-crawler-reference-content-deduplication`,
elasticsearchIndexedEngines: `${APP_SEARCH_DOCS}elasticsearch-engines.html`,
entryPoints: `${APP_SEARCH_DOCS}crawl-web-content.html#crawl-web-content-manage-entry-points`,
gettingStarted: `${APP_SEARCH_DOCS}getting-started.html`,
guide: `${APP_SEARCH_DOCS}index.html`,
indexingDocuments: `${APP_SEARCH_DOCS}indexing-documents-guide.html`,
indexingDocumentsSchema: `${APP_SEARCH_DOCS}indexing-documents-guide.html#indexing-documents-guide-schema`,
logSettings: `${APP_SEARCH_DOCS}logs.html`,
metaEngines: `${APP_SEARCH_DOCS}meta-engines-guide.html`,
precisionTuning: `${APP_SEARCH_DOCS}precision-tuning.html`,
relevanceTuning: `${APP_SEARCH_DOCS}relevance-tuning-guide.html`,
resultSettings: `${APP_SEARCH_DOCS}result-settings-guide.html`,
searchUI: `${APP_SEARCH_DOCS}reference-ui-guide.html`,
security: `${APP_SEARCH_DOCS}security-and-users.html`,
synonyms: `${APP_SEARCH_DOCS}synonyms-guide.html`,
webCrawler: `${APP_SEARCH_DOCS}web-crawler.html`,
webCrawlerEventLogs: `${APP_SEARCH_DOCS}view-web-crawler-events-logs.html`,
webCrawlerReference: `${APP_SEARCH_DOCS}web-crawler-reference.html`,
},
enterpriseSearch: {
aiSearchDoc: `${ESRE_DOCS}`,
aiSearchHelp: `${ESRE_DOCS}help.html`,
@ -228,41 +199,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
troubleshootSetup: `${ENTERPRISE_SEARCH_DOCS}troubleshoot-setup.html`,
usersAccess: `${ENTERPRISE_SEARCH_DOCS}users-access.html`,
},
workplaceSearch: {
apiKeys: `${WORKPLACE_SEARCH_DOCS}workplace-search-api-authentication.html`,
box: `${WORKPLACE_SEARCH_DOCS}workplace-search-box-connector.html`,
confluenceCloud: `${WORKPLACE_SEARCH_DOCS}workplace-search-confluence-cloud-connector.html`,
confluenceCloudConnectorPackage: `${WORKPLACE_SEARCH_DOCS}confluence-cloud.html`,
confluenceServer: `${WORKPLACE_SEARCH_DOCS}workplace-search-confluence-server-connector.html`,
contentSources: `${WORKPLACE_SEARCH_DOCS}workplace-search-content-sources.html`,
customConnectorPackage: `${WORKPLACE_SEARCH_DOCS}custom-connector-package.html`,
customSources: `${WORKPLACE_SEARCH_DOCS}workplace-search-custom-api-sources.html`,
customSourcePermissions: `${WORKPLACE_SEARCH_DOCS}workplace-search-custom-api-sources.html#custom-api-source-document-level-access-control`,
documentPermissions: `${WORKPLACE_SEARCH_DOCS}workplace-search-sources-document-permissions.html`,
dropbox: `${WORKPLACE_SEARCH_DOCS}workplace-search-dropbox-connector.html`,
externalSharePointOnline: `${WORKPLACE_SEARCH_DOCS}sharepoint-online-external.html`,
externalIdentities: `${WORKPLACE_SEARCH_DOCS}workplace-search-external-identities-api.html`,
gatedFormBlog: `${ELASTIC_WEBSITE_URL}blog/evolution-workplace-search-private-data-elasticsearch`,
gettingStarted: `${WORKPLACE_SEARCH_DOCS}workplace-search-getting-started.html`,
gitHub: `${WORKPLACE_SEARCH_DOCS}workplace-search-github-connector.html`,
gmail: `${WORKPLACE_SEARCH_DOCS}workplace-search-gmail-connector.html`,
googleDrive: `${WORKPLACE_SEARCH_DOCS}workplace-search-google-drive-connector.html`,
indexingSchedule: `${WORKPLACE_SEARCH_DOCS}workplace-search-customizing-indexing-rules.html#_indexing_schedule`,
jiraCloud: `${WORKPLACE_SEARCH_DOCS}workplace-search-jira-cloud-connector.html`,
jiraServer: `${WORKPLACE_SEARCH_DOCS}workplace-search-jira-server-connector.html`,
networkDrive: `${WORKPLACE_SEARCH_DOCS}network-drives.html`,
oneDrive: `${WORKPLACE_SEARCH_DOCS}workplace-search-onedrive-connector.html`,
permissions: `${WORKPLACE_SEARCH_DOCS}workplace-search-permissions.html`,
privateSourcePermissions: `${WORKPLACE_SEARCH_DOCS}workplace-search-permissions.html#organizational-sources-private-sources`,
salesforce: `${WORKPLACE_SEARCH_DOCS}workplace-search-salesforce-connector.html`,
security: `${WORKPLACE_SEARCH_DOCS}workplace-search-security.html`,
serviceNow: `${WORKPLACE_SEARCH_DOCS}workplace-search-servicenow-connector.html`,
sharePoint: `${WORKPLACE_SEARCH_DOCS}workplace-search-sharepoint-online-connector.html`,
sharePointServer: `${WORKPLACE_SEARCH_DOCS}sharepoint-server.html`,
slack: `${WORKPLACE_SEARCH_DOCS}workplace-search-slack-connector.html`,
synch: `${WORKPLACE_SEARCH_DOCS}workplace-search-customizing-indexing-rules.html`,
zendesk: `${WORKPLACE_SEARCH_DOCS}workplace-search-zendesk-connector.html`,
},
metricbeat: {
base: `${ELASTIC_WEBSITE_URL}guide/en/beats/metricbeat/${DOC_LINK_VERSION}`,
configure: `${ELASTIC_WEBSITE_URL}guide/en/beats/metricbeat/${DOC_LINK_VERSION}/configuring-howto-metricbeat.html`,

View file

@ -87,33 +87,6 @@ export interface DocLinks {
readonly install: string;
readonly start: string;
};
readonly appSearch: {
readonly adaptiveRelevance: string;
readonly apiRef: string;
readonly apiClients: string;
readonly apiKeys: string;
readonly authentication: string;
readonly crawlRules: string;
readonly curations: string;
readonly duplicateDocuments: string;
readonly elasticsearchIndexedEngines: string;
readonly entryPoints: string;
readonly gettingStarted: string;
readonly guide: string;
readonly indexingDocuments: string;
readonly indexingDocumentsSchema: string;
readonly logSettings: string;
readonly metaEngines: string;
readonly precisionTuning: string;
readonly relevanceTuning: string;
readonly resultSettings: string;
readonly searchUI: string;
readonly security: string;
readonly synonyms: string;
readonly webCrawler: string;
readonly webCrawlerEventLogs: string;
readonly webCrawlerReference: string;
};
readonly enterpriseSearch: {
readonly aiSearchDoc: string;
readonly aiSearchHelp: string;
@ -195,41 +168,6 @@ export interface DocLinks {
readonly troubleshootSetup: string;
readonly usersAccess: string;
};
readonly workplaceSearch: {
readonly apiKeys: string;
readonly box: string;
readonly confluenceCloud: string;
readonly confluenceCloudConnectorPackage: string;
readonly confluenceServer: string;
readonly contentSources: string;
readonly customConnectorPackage: string;
readonly customSources: string;
readonly customSourcePermissions: string;
readonly documentPermissions: string;
readonly dropbox: string;
readonly externalSharePointOnline: string;
readonly externalIdentities: string;
readonly gatedFormBlog: string;
readonly gitHub: string;
readonly gettingStarted: string;
readonly gmail: string;
readonly googleDrive: string;
readonly indexingSchedule: string;
readonly jiraCloud: string;
readonly jiraServer: string;
readonly networkDrive: string;
readonly oneDrive: string;
readonly permissions: string;
readonly privateSourcePermissions: string;
readonly salesforce: string;
readonly security: string;
readonly serviceNow: string;
readonly sharePoint: string;
readonly sharePointServer: string;
readonly slack: string;
readonly synch: string;
readonly zendesk: string;
};
readonly heartbeat: {
readonly base: string;
};

View file

@ -19,9 +19,7 @@ describe('DocLinks', () => {
docLinks.setDocLinks(links as any);
expect(docLinks.appSearchApis).toEqual(links.links.appSearch.apiRef);
expect(docLinks.cloudIndexManagement).toEqual(links.links.cloud.indexManagement);
expect(docLinks.enterpriseSearchConfig).toEqual(links.links.enterpriseSearch.configuration);
expect(docLinks.workplaceSearchZendesk).toEqual(links.links.workplaceSearch.zendesk);
});
});

View file

@ -12,31 +12,6 @@ class DocLinks {
public aiSearchHelp: string;
public apiKeyMetadata: string;
public apiKeys: string;
public appSearchAdaptiveRelevance: string;
public appSearchApiClients: string;
public appSearchApiKeys: string;
public appSearchApis: string;
public appSearchAuthentication: string;
public appSearchCrawlRules: string;
public appSearchCurations: string;
public appSearchDuplicateDocuments: string;
public appSearchElasticsearchIndexedEngines: string;
public appSearchEntryPoints: string;
public appSearchGettingStarted: string;
public appSearchGuide: string;
public appSearchIndexingDocs: string;
public appSearchIndexingDocsSchema: string;
public appSearchLogSettings: string;
public appSearchMetaEngines: string;
public appSearchPrecision: string;
public appSearchRelevance: string;
public appSearchResultSettings: string;
public appSearchSearchUI: string;
public appSearchSecurity: string;
public appSearchSynonyms: string;
public appSearchWebCrawler: string;
public appSearchWebCrawlerEventLogs: string;
public appSearchWebCrawlerReference: string;
public behavioralAnalytics: string;
public behavioralAnalyticsCORS: string;
public behavioralAnalyticsEvents: string;
@ -147,76 +122,12 @@ class DocLinks {
public syncRulesAdvanced: string;
public trainedModels: string;
public textEmbedding: string;
public workplaceSearchApiKeys: string;
public workplaceSearchBox: string;
public workplaceSearchConfluenceCloud: string;
public workplaceSearchConfluenceCloudConnectorPackage: string;
public workplaceSearchConfluenceServer: string;
public workplaceSearchContentSources: string;
public workplaceSearchCustomConnectorPackage: string;
public workplaceSearchCustomSourcePermissions: string;
public workplaceSearchCustomSources: string;
public workplaceSearchDocumentPermissions: string;
public workplaceSearchDropbox: string;
public workplaceSearchExternalIdentities: string;
public workplaceSearchExternalSharePointOnline: string;
public workplaceSearchGatedFormBlog: string;
public workplaceSearchGatedFormDataUse: string;
public workplaceSearchGatedFormPrivacyStatement: string;
public workplaceSearchGatedFormTermsOfService: string;
public workplaceSearchGettingStarted: string;
public workplaceSearchGitHub: string;
public workplaceSearchGmail: string;
public workplaceSearchGoogleDrive: string;
public workplaceSearchIndexingSchedule: string;
public workplaceSearchJiraCloud: string;
public workplaceSearchJiraServer: string;
public workplaceSearchNetworkDrive: string;
public workplaceSearchOneDrive: string;
public workplaceSearchOutlook: string;
public workplaceSearchPermissions: string;
public workplaceSearchPrivateSourcePermissions: string;
public workplaceSearchSalesforce: string;
public workplaceSearchSecurity: string;
public workplaceSearchServiceNow: string;
public workplaceSearchSharePoint: string;
public workplaceSearchSharePointServer: string;
public workplaceSearchSlack: string;
public workplaceSearchSynch: string;
public workplaceSearchTeams: string;
public workplaceSearchZendesk: string;
public workplaceSearchZoom: string;
constructor() {
this.aiSearchDoc = '';
this.aiSearchHelp = '';
this.apiKeyMetadata = '';
this.apiKeys = '';
this.appSearchAdaptiveRelevance = '';
this.appSearchApis = '';
this.appSearchApiClients = '';
this.appSearchApiKeys = '';
this.appSearchAuthentication = '';
this.appSearchCrawlRules = '';
this.appSearchCurations = '';
this.appSearchDuplicateDocuments = '';
this.appSearchEntryPoints = '';
this.appSearchElasticsearchIndexedEngines = '';
this.appSearchGettingStarted = '';
this.appSearchGuide = '';
this.appSearchIndexingDocs = '';
this.appSearchIndexingDocsSchema = '';
this.appSearchLogSettings = '';
this.appSearchMetaEngines = '';
this.appSearchPrecision = '';
this.appSearchRelevance = '';
this.appSearchResultSettings = '';
this.appSearchSearchUI = '';
this.appSearchSecurity = '';
this.appSearchSynonyms = '';
this.appSearchWebCrawler = '';
this.appSearchWebCrawlerEventLogs = '';
this.appSearchWebCrawlerReference = '';
this.behavioralAnalytics = '';
this.behavioralAnalyticsCORS = '';
this.behavioralAnalyticsEvents = '';
@ -327,45 +238,6 @@ class DocLinks {
this.syncRulesAdvanced = '';
this.trainedModels = '';
this.textEmbedding = '';
this.workplaceSearchApiKeys = '';
this.workplaceSearchBox = '';
this.workplaceSearchConfluenceCloud = '';
this.workplaceSearchConfluenceCloudConnectorPackage = '';
this.workplaceSearchConfluenceServer = '';
this.workplaceSearchContentSources = '';
this.workplaceSearchCustomConnectorPackage = '';
this.workplaceSearchCustomSources = '';
this.workplaceSearchCustomSourcePermissions = '';
this.workplaceSearchDocumentPermissions = '';
this.workplaceSearchDropbox = '';
this.workplaceSearchExternalSharePointOnline = '';
this.workplaceSearchExternalIdentities = '';
this.workplaceSearchGatedFormBlog = '';
this.workplaceSearchGatedFormDataUse = '';
this.workplaceSearchGatedFormPrivacyStatement = '';
this.workplaceSearchGatedFormTermsOfService = '';
this.workplaceSearchGettingStarted = '';
this.workplaceSearchGitHub = '';
this.workplaceSearchGmail = '';
this.workplaceSearchGoogleDrive = '';
this.workplaceSearchIndexingSchedule = '';
this.workplaceSearchJiraCloud = '';
this.workplaceSearchJiraServer = '';
this.workplaceSearchNetworkDrive = '';
this.workplaceSearchOneDrive = '';
this.workplaceSearchOutlook = '';
this.workplaceSearchPermissions = '';
this.workplaceSearchPrivateSourcePermissions = '';
this.workplaceSearchSalesforce = '';
this.workplaceSearchSecurity = '';
this.workplaceSearchServiceNow = '';
this.workplaceSearchSharePoint = '';
this.workplaceSearchSharePointServer = '';
this.workplaceSearchSlack = '';
this.workplaceSearchSynch = '';
this.workplaceSearchTeams = '';
this.workplaceSearchZendesk = '';
this.workplaceSearchZoom = '';
}
public setDocLinks(docLinks: DocLinksStart): void {
@ -373,32 +245,6 @@ class DocLinks {
this.aiSearchHelp = docLinks.links.enterpriseSearch.aiSearchHelp;
this.apiKeys = docLinks.links.enterpriseSearch.apiKeys;
this.apiKeyMetadata = docLinks.links.security.mappingRoles;
this.appSearchAdaptiveRelevance = docLinks.links.appSearch.adaptiveRelevance;
this.appSearchApis = docLinks.links.appSearch.apiRef;
this.appSearchApiClients = docLinks.links.appSearch.apiClients;
this.appSearchApiKeys = docLinks.links.appSearch.apiKeys;
this.appSearchAuthentication = docLinks.links.appSearch.authentication;
this.appSearchCrawlRules = docLinks.links.appSearch.crawlRules;
this.appSearchCurations = docLinks.links.appSearch.curations;
this.appSearchDuplicateDocuments = docLinks.links.appSearch.duplicateDocuments;
this.appSearchElasticsearchIndexedEngines =
docLinks.links.appSearch.elasticsearchIndexedEngines;
this.appSearchEntryPoints = docLinks.links.appSearch.entryPoints;
this.appSearchGettingStarted = docLinks.links.appSearch.gettingStarted;
this.appSearchGuide = docLinks.links.appSearch.guide;
this.appSearchIndexingDocs = docLinks.links.appSearch.indexingDocuments;
this.appSearchIndexingDocsSchema = docLinks.links.appSearch.indexingDocumentsSchema;
this.appSearchLogSettings = docLinks.links.appSearch.logSettings;
this.appSearchMetaEngines = docLinks.links.appSearch.metaEngines;
this.appSearchPrecision = docLinks.links.appSearch.precisionTuning;
this.appSearchRelevance = docLinks.links.appSearch.relevanceTuning;
this.appSearchResultSettings = docLinks.links.appSearch.resultSettings;
this.appSearchSearchUI = docLinks.links.appSearch.searchUI;
this.appSearchSecurity = docLinks.links.appSearch.security;
this.appSearchSynonyms = docLinks.links.appSearch.synonyms;
this.appSearchWebCrawler = docLinks.links.appSearch.webCrawler;
this.appSearchWebCrawlerEventLogs = docLinks.links.appSearch.webCrawlerEventLogs;
this.appSearchWebCrawlerReference = docLinks.links.appSearch.webCrawlerReference;
this.behavioralAnalytics = docLinks.links.enterpriseSearch.behavioralAnalytics;
this.behavioralAnalyticsCORS = docLinks.links.enterpriseSearch.behavioralAnalyticsCORS;
this.behavioralAnalyticsEvents = docLinks.links.enterpriseSearch.behavioralAnalyticsEvents;
@ -509,47 +355,6 @@ class DocLinks {
this.syncRulesAdvanced = docLinks.links.enterpriseSearch.syncRulesAdvanced;
this.trainedModels = docLinks.links.enterpriseSearch.trainedModels;
this.textEmbedding = docLinks.links.enterpriseSearch.textEmbedding;
this.workplaceSearchGatedFormBlog = docLinks.links.workplaceSearch.gatedFormBlog;
this.workplaceSearchApiKeys = docLinks.links.workplaceSearch.apiKeys;
this.workplaceSearchBox = docLinks.links.workplaceSearch.box;
this.workplaceSearchConfluenceCloud = docLinks.links.workplaceSearch.confluenceCloud;
this.workplaceSearchConfluenceCloudConnectorPackage =
docLinks.links.workplaceSearch.confluenceCloudConnectorPackage;
this.workplaceSearchConfluenceServer = docLinks.links.workplaceSearch.confluenceServer;
this.workplaceSearchContentSources = docLinks.links.workplaceSearch.contentSources;
this.workplaceSearchCustomConnectorPackage =
docLinks.links.workplaceSearch.customConnectorPackage;
this.workplaceSearchCustomSources = docLinks.links.workplaceSearch.customSources;
this.workplaceSearchCustomSourcePermissions =
docLinks.links.workplaceSearch.customSourcePermissions;
this.workplaceSearchDocumentPermissions = docLinks.links.workplaceSearch.documentPermissions;
this.workplaceSearchDropbox = docLinks.links.workplaceSearch.dropbox;
this.workplaceSearchExternalSharePointOnline =
docLinks.links.workplaceSearch.externalSharePointOnline;
this.workplaceSearchExternalIdentities = docLinks.links.workplaceSearch.externalIdentities;
this.workplaceSearchGatedFormDataUse = docLinks.links.legal.dataUse;
this.workplaceSearchGatedFormPrivacyStatement = docLinks.links.legal.generalPrivacyStatement;
this.workplaceSearchGatedFormTermsOfService = docLinks.links.legal.termsOfService;
this.workplaceSearchGettingStarted = docLinks.links.workplaceSearch.gettingStarted;
this.workplaceSearchGitHub = docLinks.links.workplaceSearch.gitHub;
this.workplaceSearchGmail = docLinks.links.workplaceSearch.gmail;
this.workplaceSearchGoogleDrive = docLinks.links.workplaceSearch.googleDrive;
this.workplaceSearchIndexingSchedule = docLinks.links.workplaceSearch.indexingSchedule;
this.workplaceSearchJiraCloud = docLinks.links.workplaceSearch.jiraCloud;
this.workplaceSearchJiraServer = docLinks.links.workplaceSearch.jiraServer;
this.workplaceSearchNetworkDrive = docLinks.links.workplaceSearch.networkDrive;
this.workplaceSearchOneDrive = docLinks.links.workplaceSearch.oneDrive;
this.workplaceSearchPermissions = docLinks.links.workplaceSearch.permissions;
this.workplaceSearchPrivateSourcePermissions =
docLinks.links.workplaceSearch.privateSourcePermissions;
this.workplaceSearchSalesforce = docLinks.links.workplaceSearch.salesforce;
this.workplaceSearchSecurity = docLinks.links.workplaceSearch.security;
this.workplaceSearchServiceNow = docLinks.links.workplaceSearch.serviceNow;
this.workplaceSearchSharePoint = docLinks.links.workplaceSearch.sharePoint;
this.workplaceSearchSharePointServer = docLinks.links.workplaceSearch.sharePointServer;
this.workplaceSearchSlack = docLinks.links.workplaceSearch.slack;
this.workplaceSearchSynch = docLinks.links.workplaceSearch.synch;
this.workplaceSearchZendesk = docLinks.links.workplaceSearch.zendesk;
}
}