mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Search Sessions] Fix search sessions docs link (#98918)
This commit is contained in:
parent
a67f011212
commit
fda2ad4575
5 changed files with 14 additions and 3 deletions
|
@ -104,6 +104,9 @@ readonly links: {
|
|||
readonly painlessWalkthrough: string;
|
||||
readonly luceneExpressions: string;
|
||||
};
|
||||
readonly search: {
|
||||
readonly sessions: string;
|
||||
};
|
||||
readonly indexPatterns: {
|
||||
readonly introduction: string;
|
||||
readonly fieldFormattersNumber: string;
|
||||
|
|
|
@ -199,6 +199,9 @@ export class DocLinksService {
|
|||
percolate: `${ELASTICSEARCH_DOCS}query-dsl-percolate-query.html`,
|
||||
queryDsl: `${ELASTICSEARCH_DOCS}query-dsl.html`,
|
||||
},
|
||||
search: {
|
||||
sessions: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/search-sessions.html`,
|
||||
},
|
||||
date: {
|
||||
dateMath: `${ELASTICSEARCH_DOCS}common-options.html#date-math`,
|
||||
dateMathIndexNames: `${ELASTICSEARCH_DOCS}date-math-index-names.html`,
|
||||
|
@ -501,6 +504,9 @@ export interface DocLinksStart {
|
|||
readonly painlessWalkthrough: string;
|
||||
readonly luceneExpressions: string;
|
||||
};
|
||||
readonly search: {
|
||||
readonly sessions: string;
|
||||
};
|
||||
readonly indexPatterns: {
|
||||
readonly introduction: string;
|
||||
readonly fieldFormattersNumber: string;
|
||||
|
|
|
@ -589,6 +589,9 @@ export interface DocLinksStart {
|
|||
readonly painlessWalkthrough: string;
|
||||
readonly luceneExpressions: string;
|
||||
};
|
||||
readonly search: {
|
||||
readonly sessions: string;
|
||||
};
|
||||
readonly indexPatterns: {
|
||||
readonly introduction: string;
|
||||
readonly fieldFormattersNumber: string;
|
||||
|
|
|
@ -60,7 +60,7 @@ describe('Background Search Session Management Main', () => {
|
|||
ELASTIC_WEBSITE_URL: `boo/`,
|
||||
DOC_LINK_VERSION: `#foo`,
|
||||
links: {
|
||||
elasticsearch: { asyncSearch: `mock-url` } as any,
|
||||
search: { sessions: `mock-url` } as any,
|
||||
} as any,
|
||||
};
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ export class AsyncSearchIntroDocumentation {
|
|||
|
||||
constructor(docs: DocLinksStart) {
|
||||
const { links } = docs;
|
||||
// TODO: There should be Kibana documentation link about Search Sessions in Kibana
|
||||
this.docUrl = links.elasticsearch.asyncSearch;
|
||||
this.docUrl = links.search.sessions;
|
||||
}
|
||||
|
||||
public getElasticsearchDocLink() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue