This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e70bbfa
commit 0dc2a09
Showing
8 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
# Use this script to install the plugin in a locally running Opensearch. | ||
# Use this convenience script to install the built plugin in a locally running Opensearch. | ||
|
||
DIR=`pwd` | ||
sudo /usr/share/opensearch/bin/opensearch-plugin install file:${DIR}/build/distributions/opensearch-rest-plugin.zip |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
HOST=${1:-"localhost"} | ||
STORE_NAME="awesome" | ||
|
||
curl http://${HOST}:9200/.${STORE_NAME}_events/_search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
HOST=${1:-"localhost"} | ||
STORE_NAME="awesome" | ||
|
||
curl -X PUT http://${HOST}:9200/_plugins/search_relevance/${STORE_NAME} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash -e | ||
|
||
HOST=${1:-"localhost"} | ||
STORE_NAME="awesome" | ||
|
||
curl -X POST http://${HOST}:9200/_plugins/search_relevance/${STORE_NAME} -H "Content-Type: application/json" -d @instant-search.json |