Elasticsearch always returning “mapping type is missing”

后端 未结 3 2071
囚心锁ツ
囚心锁ツ 2020-12-15 16:06

I\'m following the advice given here in order to find partial words with elasticsearch:

ElasticSearch n-gram tokenfilter not finding partial words

I\'ve crea

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-15 16:26

    Set mapping for the index is possible in Elastic search. I tried this with the latest version of Elastic search 1.7.3 and I was able to set the mapping successfully to the index.

    I tried the following,

    • Delete the index (DELETE http://localhost:9200/index)
    • Put the mapping json under the index (PUT http://localhost:9200/index)
    • Get the mapping (GET http://localhost:9200//_mapping)

提交回复
热议问题