I successfully created an index, the last few lines after index was created.
{ "create" : { "_index" : "nfltest", "_type" : "external", "_id" : "AVIRFrqdQfEj8oBbCsmr", "_version" : 1, "_shards" : { "total" : 2, "successful" : 1, "failed" : 0 }, "status" : 201 } }, { "create" : { "_index" : "nfltest", "_type" : "external", "_id" : "AVIRFrqdQfEj8oBbCsms", "_version" : 1, "_shards" : { "total" : 2, "successful" : 1, "failed" : 0 }, "status" : 201 } } ] }
and then I run
curl 'localhost:9200/_cat/indices?v'
which gives me the following result
health status index pri rep docs.count docs.deleted store.size pri.store.size yellow open nfltest 5 1 44896 0 8.6mb 8.6mb
but when I tried to run
curl -XGET localhost:9200/nfltest/external/_bulk?pretty
the result is
{ "_index" : "nfltest", "_type" : "external", "_id" : "_bulk", "found" : false }
I also find this post :Document found with _search but not with GET
it did return result when I use _search .
any idea how can I fix it? Thank you