File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- # Spring Data ElasticSearch Example
1+ # Spring Data Elasticsearch Example
22
33## Introduction
44
5- This example demonstrates how to use Spring Data ElasticSearch to do simple CRUD operation.
5+ This example demonstrates how to use Spring Data Elasticsearch to do simple CRUD operation.
66
77You can find the tutorial about this example at the below link:
88
99[ https://blog.madadipouya.com ] ( https://blog.madadipouya.com )
1010
11- For this example, a Book controller created that allows to do the following operations with ElasticSearch :
11+ For this example, a Book controller created that allows to do the following operations with Elasticsearch :
1212
1313- Get list of all books
1414- Create a book
@@ -19,24 +19,24 @@ For this example, a Book controller created that allows to do the following oper
1919
2020## How to run
2121
22- The first thing to do is to start ElasticSearch . For that you can use the ` docker-compose ` file in this project
22+ The first thing to do is to start Elasticsearch . For that you can use the ` docker-compose ` file in this project
2323and run it like this:
2424
2525``` bash
2626$ docker-compose -f docker-compose up -d
2727```
2828
29- It brings ElasticSearch up on a single node cluster with the cluser name ` elasticsearch ` .
29+ It brings Elasticsearch up on a single node cluster with the cluser name ` elasticsearch ` .
3030
3131Then you can run the application like below:
3232
3333``` bash
3434$ ./mvnw spring-boot:run
3535```
3636
37- If your ElasticSearch URI is not ` localhost ` and/or the cluster name is different simply override one or both of the following environment variable:
37+ If your Elasticsearch URI is not ` localhost ` and/or the cluster name is different simply override one or both of the following environment variable:
3838
3939- ` ES_URI `
4040- ` ES_CLUSTER_NAME `
4141
42- Once everything is up and running open the browser and go to [ http://localhost:8080 ] ( http://localhost:8080 ) . You should see Swagger to interact with.
42+ Once everything is up and running open the browser and go to [ http://localhost:8080 ] ( http://localhost:8080 ) . You should see Swagger to interact with.
You can’t perform that action at this time.
0 commit comments