mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-15 16:42:11 +00:00
Updated How to start with spring data elasticsearch (markdown => creole)
parent
61e922b055
commit
e2266bbdf7
6
How-to-start-with-spring-data-elasticsearch.md → How-to-start-with-spring-data-elasticsearch.creole
6
How-to-start-with-spring-data-elasticsearch.md → How-to-start-with-spring-data-elasticsearch.creole
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user