Skip to content

How to start with spring data elasticsearch

akonczak edited this page Aug 27, 2013 · 2 revisions
    • First you will need to answer to yourself how you will use this framework.**
    • Case 1:**
I need only index and search documents in my project.

How to configure your project:

First add to your pom.xml file information about snapshot repository for spring-data-elasticsearch

Second add dependency for spring-data-elasticsearch

Having both entries in the pom file you should be able to use spring-data-elasticsearch without any issues.

    • Case 2:**
I have a plane to develop new feature/ or extend existing ones.

How to configure your project:

Project has dependencies with spring-data-parent to fulfil that we need to add information about snapshot spring repository and snapshot spring plugin repository.

Snapshot spring repository:

Snapshot spring plugin repository: