Create or update mapping in elasticsearch

后端 未结 3 1243
故里飘歌
故里飘歌 2020-12-04 21:01

I am new to Elasticsearch and am currently working on implementing a geo_distance filter for searching. As of now my index has the following mapping (I\'ve remo

3条回答
  •  无人及你
    2020-12-04 21:52

    Please note that there is a mistake in the url provided in this answer:

    For a PUT mapping request: the url should be as follows:

    http://localhost:9200/name_of_index/_mappings/document_type

    and NOT

    http://localhost:9200/name_of_index/document_type/_mappings

提交回复
热议问题