# Spark with elasticsearch

**URL:** <https://discuss.elastic.co/t/spark-with-elasticsearch/147400>\
**Category:** Elasticsearch\
**Created:** [September 5, 2018, 12:01pm UTC](https://discuss.elastic.co/t/spark-with-elasticsearch/147400 "2018-09-05T12:01:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool\_arun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cool_arun/32/70465_2.png) [@cool\_arun](https://discuss.elastic.co/u/cool_arun)\
**Post date:** [September 5, 2018, 12:01pm UTC](https://discuss.elastic.co/t/spark-with-elasticsearch/147400/1 "2018-09-05T12:01:09Z")

</div>

What is the best way to integrate elasticsearch with spark?

---

<div class="post-metadata">

**Author:** ![sanzhiyuan](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@sanzhiyuan](https://discuss.elastic.co/u/sanzhiyuan)\
**Post date:** [September 5, 2018, 12:23pm UTC](https://discuss.elastic.co/t/spark-with-elasticsearch/147400/2 "2018-09-05T12:23:47Z")

</div>

truly expecting offline indexing -\> building index by spark cluster, we do have a much bigger spark cluster but still suffering from online indexing.

---

<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:** [October 3, 2018, 12:23pm UTC](https://discuss.elastic.co/t/spark-with-elasticsearch/147400/3 "2018-10-03T12:23:53Z")

</div>

Closed on October 3, 2018, 12:23pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
