# Searching document from elastic search via spring MVC

**URL:** <https://discuss.elastic.co/t/searching-document-from-elastic-search-via-spring-mvc/95845>\
**Category:** Elasticsearch\
**Created:** [August 4, 2017, 9:21am UTC](https://discuss.elastic.co/t/searching-document-from-elastic-search-via-spring-mvc/95845 "2017-08-04T09:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neetu](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@Neetu](https://discuss.elastic.co/u/Neetu)\
**Post date:** [August 4, 2017, 9:21am UTC](https://discuss.elastic.co/t/searching-document-from-elastic-search-via-spring-mvc/95845/1 "2017-08-04T09:21:35Z")

</div>

HI ,  
Iam trying to connect elastic search server from my spring project and want to get the documents (files) from server and display in my search results.

How can i do it .is there any demo project for the same from where i can get an idea how i can do it . i have checked spring boot +spring data elastic search but everywhere i can see that user is trying to add new data or update it .  
i just want to get data from cluster and get in it search result .

---

<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:** [September 1, 2017, 9:21am UTC](https://discuss.elastic.co/t/searching-document-from-elastic-search-via-spring-mvc/95845/2 "2017-09-01T09:21:40Z")

</div>

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