curl -xpuT "http://localhost:9200/movIEs/movIE/1" -d" { "Title": "The Godfather","director": "Francis Ford coppola","year": 1972}"
产生以下错误:
{ "error":"MapperParsingException[Failed to parse]; nested: JsonParseException[Unrecognized token 'The': was expecting ('true','false' or 'null') at [Source: [B@d809e3; line: 1,column: 27]]; ","status":400}curl: (6) Could not resolve host: Godfather,directorcurl: (6) Could not resolve host: Fordcurl: (3) [globbing] unmatched close brace/bracket in column 19
任何人都可以请求帮助,我需要做些什么来纠正这个错误?
解决方法 我认为你在curl命令中正在苦苦挣扎.尝试在Chrome或Crest客户端扩展中使用感知插件进行镀铬..
https://chrome.google.com/webstore/detail/dev-http-client/aejoelaoggembcahagimdiliamlcdmfm?hl=en
https://chrome.google.com/webstore/detail/sense/doinijnbnggojdlcjifpdckfokbbfpbo?hl=en
它非常易于使用且易于理解.
总结以上是内存溢出为你收集整理的通过curl抛出MapperParsingException索引数据?全部内容,希望文章能够帮你解决通过curl抛出MapperParsingException索引数据?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)