# Where can I find the Graph API Document?

**URL:** <https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546>\
**Category:** Elasticsearch\
**Created:** [March 27, 2016, 3:45pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546 "2016-03-27T15:45:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![syang](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@syang](https://discuss.elastic.co/u/syang)\
**Post date:** [March 27, 2016, 3:45pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/1 "2016-03-27T15:45:51Z")

</div>

Elastic announced graph api recently [https://www.elastic.co/elasticon/conf/2016/sf/graph-capabilities-in-the-elastic-stack](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](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html).

Can someone point me how to get started?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 27, 2016, 4:07pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/2 "2016-03-27T16:07:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![syang](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@syang](https://discuss.elastic.co/u/syang)\
**Post date:** [March 27, 2016, 6:57pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/3 "2016-03-27T18:57:55Z")

</div>

What is 2.3's ETA?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 27, 2016, 8:25pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/4 "2016-03-27T20:25:18Z")

</div>

Very soon.

---

<div class="post-metadata">

**Author:** ![mdown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mdown/32/8791_2.png) [@mdown](https://discuss.elastic.co/u/mdown)\
**Post date:** [March 31, 2016, 11:01am UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/5 "2016-03-31T11:01:56Z")

</div>

Documentation is now available:

[https://www.elastic.co/guide/en/graph/current/index.html](https://www.elastic.co/guide/en/graph/current/index.html)

---

<div class="post-metadata">

**Author:** ![syang](https://avatars.discourse-cdn.com/v4/letter/s/8491ac/32.png) [@syang](https://discuss.elastic.co/u/syang)\
**Post date:** [April 6, 2016, 4:21am UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/6 "2016-04-06T04:21:37Z")

</div>

@warkolm @mdown, I read the doc at [https://www.elastic.co/guide/en/graph/current/graph-api-rest.html](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

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [April 12, 2016, 1:07pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/7 "2016-04-12T13:07:31Z")

</div>

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](https://www.elastic.co/guide/en/elasticsearch/guide/master/multi-fields.html#multi-fields)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:00pm UTC](https://discuss.elastic.co/t/where-can-i-find-the-graph-api-document/45546/8 "2017-07-05T23:00:10Z")

</div>


