mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-16 00:52:10 +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.
|
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.
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user