I hereby claim:
- I am imotov on github.
- I am imotov (https://keybase.io/imotov) on keybase.
- I have a public key whose fingerprint is 3AD2 00AD 11F8 0B44 21F1 6D11 9DE3 331B 5426 2EAF
To claim this, I am signing this object:
DELETE test | |
DELETE test-reindexed | |
PUT test | |
{ | |
"settings": { | |
"number_of_replicas": 0, | |
"number_of_shards": 1 | |
}, | |
"mappings": { | |
"_doc": { |
Запрос 1: | |
POST tenders_2019/_doc/_search | |
{ | |
"_source": false, | |
"timeout": "3m", | |
"query": { | |
"bool": { | |
"filter": [ | |
{ | |
"bool": { |
DELETE test | |
PUT test | |
{ | |
"mappings": { | |
"doc": { | |
"properties": { | |
"shape": { | |
"ignore_malformed": true, | |
"type": "geo_shape", |
I hereby claim:
To claim this, I am signing this object:
# Create test index | |
curl -XDELETE 'http://localhost:9200/test-idx?pretty' | |
curl -XPUT 'http://localhost:9200/test-idx?pretty' -d '{ | |
"settings": { | |
"index.number_of_shards": 10, | |
"index.number_of_replicas": 0 | |
} | |
}' | |
for i in {1..100} | |
do |
curl -XDELETE "localhost:9200/myindex?pretty" | |
curl -XPUT "localhost:9200/myindex?pretty" -d '{ | |
"mappings" : { | |
"inventory" : { | |
"_all" : { | |
"auto_boost" : true | |
}, | |
"properties" : { | |
"id" : { | |
"type" : "long", |
curl -XDELETE "localhost:9200/test-idx?pretty" | |
curl -XPUT "localhost:9200/test-idx?pretty" -d '{ | |
"settings": { | |
"index": { | |
"analysis": { | |
"analyzer": { | |
"dw_docid": { | |
"type": "custom", | |
"tokenizer": "dw_docid_tokenizer", | |
"filter": ["dw_docid_filter"] |
curl -XDELETE 'localhost:9200/geotest' | |
echo | |
curl -XPOST 'localhost:9200/geotest' -d'{ | |
"settings": { | |
"number_of_replicas": 0, | |
"number_of_shards": 1 | |
}, | |
"mappings": { | |
"doc": { | |
"properties": { |
curl -XDELETE "localhost:9200/test-idx?pretty" | |
curl -XPUT "localhost:9200/test-idx?pretty" -d '{ | |
"settings": { | |
"number_of_replicas": 0, | |
"number_of_shards": 1 | |
}, | |
"mappings": { | |
"doc": { | |
"properties": { | |
"event_time" : { |
{ | |
"took" : 1, | |
"timed_out" : false, | |
"_shards" : { | |
"total" : 5, | |
"successful" : 5, | |
"failed" : 0 | |
}, | |
"hits" : { | |
"total" : 3, |