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. I need only index and search documents in my project.
Quick start: Quick start:
First add to your pom.xml file information about snapshot repository for spring-data-elasticsearch First add to your pom.xml file information about snapshot repository for spring-data-elasticsearch
{{{
<repositories> <repositories>
<repository> <repository>
<id>spring-snapshot</id> <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> <url>http://repo.springsource.org/libs-snapshot</url>
</repository> </repository>
<repositories> <repositories>
}}}
Second add dependency for spring-data-elasticsearch Second add dependency for spring-data-elasticsearch
{{{
<dependencies> <dependencies>
... ...
<dependency> <dependency>
@ -22,7 +24,7 @@ Second add dependency for spring-data-elasticsearch
</dependency> </dependency>
... ...
</dependencies> </dependencies>
}}}
Having both entries in the pom file you should be able to use spring-data-elasticsearch without any issues. Having both entries in the pom file you should be able to use spring-data-elasticsearch without any issues.