[DOCS] Trying to fix broken links, or removing them (#162844)

## Summary

Relates to #162551

Links returning 404 on [Elasticsearch service
page](https://www.elastic.co/guide/en/kibana/current/elasticsearch-service.html)
in the Developer guide.

Replaced the link to the data plug in and one to the global search
plugin (though I'm not sure keeping the sentence and the link to the
global search plugin is useful - maybe we should just remove both
completely). Removed the link 'Elasticsearch service API docs'
altogether.
This commit is contained in:
amyjtechwriter 2023-08-01 18:40:47 +01:00 committed by GitHub
parent ba5dc1ebd1
commit 6666ed4635
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
== Elasticsearch service
`Elasticsearch service` provides `elasticsearch.client` program API to communicate with Elasticsearch server HTTP API.
NOTE: The Elasticsearch service is only available server side. You can use the {kib-repo}blob/{branch}/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.md[Data plugin] APIs on the client side.
NOTE: The Elasticsearch service is only available server side. You can use the {kib-repo}blob/{branch}/src/plugins/data/README.mdx[Data plugin].
`elasticsearch.client` interacts with Elasticsearch service on behalf of:
@ -10,8 +10,6 @@ NOTE: The Elasticsearch service is only available server side. You can use the {
- a current end-user via `elasticsearch.client.asCurrentUser.*` methods. In this case Elasticsearch client should be given the current user credentials.
See <<scoped-services>> and <<development-security>>.
{kib-repo}blob/{branch}/docs/development/core/server/kibana-plugin-core-server.elasticsearchservicestart.md[Elasticsearch service API docs]
[source,typescript]
----
import { CoreStart, Plugin } from '@kbn/core/public';
@ -26,5 +24,5 @@ export class MyPlugin implements Plugin {
}
----
For advanced use-cases, such as a search, use {kib-repo}blob/{branch}/docs/development/plugins/data/server/kibana-plugin-plugins-data-server.md[Data plugin]
For advanced use-cases, such as a search for specific objects, use the {kib-repo}blob/{branch}/x-pack/plugins/global_search/README.md[Global search plugin].