Where can I find the Graph API Document?

Elastic announced graph api recently https://www.elastic.co/elasticon/conf/2016/sf/graph-capabilities-in-the-elastic-stack, but I don't find any documentation for the graph API at the official documentation section https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html.

Can someone point me how to get started?

You have to wait for elasticsearch 2.3.0 which will be released soonish.

What is 2.3's ETA?

Very soon.

Documentation is now available:


@warkolm @mdown, I read the doc at https://www.elastic.co/guide/en/graph/current/graph-api-rest.html. What is the schema of the clicklogs index? It is unclear to me how the search request worked out without knowing the clicklogs' fields and schema.

Thanks for providing the help

The click-log has a few fields in it but the two core fields of interest are the customer's query string and the product code they clicked on. Product code is just a simple long field and the query string is, of course, a string. To avoid the query string e.g. dj mixer being broken into the tokens dj and mixer we index it as not_analyzed. I used the "raw" naming convention in a multi-field mapping [1] to have this untokenized form of the query string.

[1] https://www.elastic.co/guide/en/elasticsearch/guide/master/multi-fields.html#multi-fields