Adjusted commands in the README.md
This commit is contained in:
parent
6508b51664
commit
d2ba955810
1 changed files with 4 additions and 4 deletions
|
@ -34,7 +34,7 @@ PUT _ingest/pipeline/lookup-pipeline
|
|||
Then you ingest a document on an index using the pipeline you just registered
|
||||
|
||||
```
|
||||
PUT /something/something/1?pipeline=lookup-pipeline
|
||||
PUT something/_doc/1?pipeline=lookup-pipeline
|
||||
{
|
||||
"field1" : "Need to optimize the C001 temperature. C010 needs to be changed as it is damaged. C100 seems ok."
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ PUT /something/something/1?pipeline=lookup-pipeline
|
|||
When ingesting the document, ElasticSearch will apply your processor, thus replacing the lookup-map keys with values. When you get the document you just ingested, you should get the following:
|
||||
|
||||
```
|
||||
GET /something/something/1
|
||||
GET something/_doc/1
|
||||
{
|
||||
...
|
||||
"_source" : {
|
||||
|
@ -70,10 +70,10 @@ To install the plugin, you need to perform the following operation.
|
|||
|
||||
This will build the plugin, also running all tests, checkstyle and findbugs. If tests are not green or if there are checkstyle / findbugs violation, the project will not build, so you need to fix your code in order to build the plugin.
|
||||
|
||||
Once the gradle build successfully completes, you will find a zip file named `ingest-lookup-8.1.1.zip` in `build/distributions`. You can install the plugin in ElasticSearch with the following command:
|
||||
Once the gradle build successfully completes, you will find a zip file named `ingest-lookup-8.6.2.zip` in `build/distributions`. You can install the plugin in ElasticSearch with the following command:
|
||||
|
||||
```
|
||||
<ES-LOCATION>/bin/elasticsearch-plugin install --batch file:/<PATH-TO-LOOKUP-PLUGIN>/build/distributions/ingest-lookup-8.1.1.zip
|
||||
<ES-LOCATION>/bin/elasticsearch-plugin install --batch file:/<PATH-TO-LOOKUP-PLUGIN>/build/distributions/ingest-lookup-8.6.2.zip
|
||||
```
|
||||
|
||||
If you want to build your plugin, without running all the tests, you can use the following command:
|
||||
|
|
Reference in a new issue