Updated How to start with spring data elasticsearch (markdown => creole)

akonczak 2013-08-27 14:30:30 -07:00
parent 61e922b055
commit e2266bbdf7

@ -4,6 +4,7 @@ First thing you will need to answer to yourself how you will use this framework.
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>
@ -11,8 +12,9 @@ First add to your pom.xml file information about snapshot repository for spring-
<url>http://repo.springsource.org/libs-snapshot</url>
</repository>
<repositories>
}}}
Second add dependency for spring-data-elasticsearch
{{{
<dependencies>
...
<dependency>
@ -22,7 +24,7 @@ Second add dependency for spring-data-elasticsearch
</dependency>
...
</dependencies>
}}}
Having both entries in the pom file you should be able to use spring-data-elasticsearch without any issues.