Created How to start with spring-data-elasticsearch (markdown)

akonczak 2013-08-27 14:28:55 -07:00
parent a494379193
commit e0150d6027

@ -0,0 +1,35 @@
# First thing 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.
Quick start:
First add to your pom.xml file information about snapshot repository for spring-data-elasticsearch
<repositories>
<repository>
<id>spring-snapshot</id>
<name>Spring Maven SNAPSHOT Repository</name>
<url>http://repo.springsource.org/libs-snapshot</url>
</repository>
<repositories>
Second add dependency for spring-data-elasticsearch
<dependencies>
...
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-elasticsearch</artifactId>
<version>1.0.0.BUILD-SNAPSHOT</version>
</dependency>
...
</dependencies>
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.
Quick start: