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
{"lastUpload":"2019-08-13T16:10:30.784Z","extensionVersion":"v3.4.1"} |
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
echo "delete the index" | |
curl -XDELETE 'http://localhost:9200/gist/' | |
echo | |
echo | |
echo "create the index" | |
curl -XPUT 'http://localhost:9200/gist/' -d '{ | |
"settings" : { | |
"number_of_shards" : 4, | |
"number_of_replicas" : 0, | |
"auto_expand_replicas": "false" |
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
{ | |
"id":"1" | |
,"type":"Order Line" | |
,"price":9.99 | |
,"quantity":2 | |
,"orderNumber":39393737 | |
,"relationship":[ | |
{ | |
"entity":"solution" | |
"entityId":"1234" |
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
{ | |
"id":"1" | |
,"type":"Order Line" | |
,"price":9.99 | |
,"quantity":2 | |
,"orderNumber":39393737 | |
,"relationship":[ | |
{ | |
"entity":"solution" | |
"entityId":"1234" |
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
{ | |
"template": "*", | |
"settings": { | |
"number_of_shards": 2, | |
"number_of_replicas": 1, | |
"search": { | |
"slowlog": { | |
"level": "trace", | |
"threshold": { | |
"query": { |