dadoonet
(David Pilato)
January 12, 2018, 7:11am
4
Some comments.
The mapping you created indicates that you are writing (I think) in an index called newtesting
and the document type is newtesting
.
But then you index with PUT /my_locations/location/1
where index name is my_locations
and type is location
.
Are you sure your example is correct?
Could you provide a full recreation script as described in
The heart of the free and open Elastic Stack
Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease.
PLEASE READ THIS SECTION IF IT'S YOUR FIRST POST
Some useful links:
elasticsearch reference guide
elasticsearch user guide
elasticsearch plugins
elasticsearch cl…
It will help to better understand what you are doing.
Please, try to keep the example as simple as possible.