# Spring Data ElasticSearch and CLI

**URL:** <https://discuss.elastic.co/t/spring-data-elasticsearch-and-cli/83630>\
**Category:** Elasticsearch\
**Created:** [April 26, 2017, 1:02am UTC](https://discuss.elastic.co/t/spring-data-elasticsearch-and-cli/83630 "2017-04-26T01:02:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shubham\_Aggarwal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shubham_aggarwal/32/17681_2.png) [@Shubham\_Aggarwal](https://discuss.elastic.co/u/Shubham_Aggarwal)\
**Post date:** [April 26, 2017, 1:02am UTC](https://discuss.elastic.co/t/spring-data-elasticsearch-and-cli/83630/1 "2017-04-26T01:02:12Z")

</div>

Hello. I made a Spring Boot project using Spring Data Elasticsearch and it works excellent.

I installed elasticsearch through Homebrew as well, made it point to the same directory for 'path.data' as provided in Spring Data Elasticsearch project.

The problem is, both of these are maintaining separate data. I want to insert data through command-line only and be able to read that data through my Spring Boot and Spring Data based Elasticsearch client. Is that even possible?

---

<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:** [May 24, 2017, 1:04am UTC](https://discuss.elastic.co/t/spring-data-elasticsearch-and-cli/83630/2 "2017-05-24T01:04:34Z")

</div>

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