Fix path to graph.explore in docs to match specs (elastic/x-pack-elasticsearch#1089)
Merging, will push an update to re-enable testing separately Original commit: elastic/x-pack-elasticsearch@3adf3c41d4
This commit is contained in:
parent
573da95e26
commit
d65dfcf2d9
|
@ -1,7 +1,7 @@
|
||||||
[[graph-api-explore]]
|
[[graph-api-explore]]
|
||||||
=== Explore API
|
=== Explore API
|
||||||
|
|
||||||
The Graph "explore" API is accessible via the /_xpack/graph/_explore endpoint.
|
The Graph "explore" API is accessible via the /_xpack/_graph/_explore endpoint.
|
||||||
One of the best ways to understand the behaviour of this API is to use the Kibana
|
One of the best ways to understand the behaviour of this API is to use the Kibana
|
||||||
Graph UI to visually click around connected data and then view the "Last request"
|
Graph UI to visually click around connected data and then view the "Last request"
|
||||||
panel (accessible from the button with the cog icon). This panel shows the JSON request/response
|
panel (accessible from the button with the cog icon). This panel shows the JSON request/response
|
||||||
|
@ -23,7 +23,7 @@ An initial search typically begins with a query to identify strongly related ter
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
POST clicklogs/_xpack/graph/_explore
|
POST clicklogs/_xpack/_graph/_explore
|
||||||
{
|
{
|
||||||
"query": { <1>
|
"query": { <1>
|
||||||
"match": {
|
"match": {
|
||||||
|
@ -122,7 +122,7 @@ The previous basic example omitted several parameters that have default values.
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
POST clicklogs/_xpack/graph/_explore
|
POST clicklogs/_xpack/_graph/_explore
|
||||||
{
|
{
|
||||||
"query": {<1>
|
"query": {<1>
|
||||||
"bool": {
|
"bool": {
|
||||||
|
@ -218,7 +218,7 @@ An example request is as follows:
|
||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
POST clicklogs/_xpack/graph/_explore
|
POST clicklogs/_xpack/_graph/_explore
|
||||||
{
|
{
|
||||||
"vertices": [
|
"vertices": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue