Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Hello Thanasisp, I tried "curl -X PUT localhost:9200/holly_good -H 'Content-Type: application/json' -d @new.json " but it gave below error {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"analyzer [analyzer_keyword] not found for field [source]"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [message]: analyzer [analyzer_keyword] not found for field [source]","caused_by":{"type":"mapper_parsing_exception","reason":"analyzer [analyzer_keyword] not found for field [source]"}},"status":400} can you guide what I am doing wrong Commented Jun 1, 2022 at 7:41
  • Hello @Samurai. This error (400) is different than the 500 (internal server error) you got before. It means "bad request". It seems that your server is reading the JSON data but it doesn't find an expected field ("analyzer" for "source"). It is related to your server/data/processing. Commented Jun 1, 2022 at 7:49
  • Thank you Thanasisp, I will check and confirm Commented Jun 1, 2022 at 8:21
  • @Samurai If this solves your issue, please consider accepting the answer. Accepting an answer marks the issue as resolved. Commented Jul 28, 2022 at 15:43