Issue when creating index...

36 views
Skip to first unread message

Djey

unread,
Sep 7, 2017, 5:18:12 PM9/7/17
to clojure-elasticsearch
Hi,

I'm currently having an issue when trying to create an index on elasticsearch 5.5.2...

here is the error I'm facing: 

(idx/create conn "myindex") ;;for the moment, no mapping involved

ExceptionInfo clj-http: status 400  slingshot.support/stack-trace (support.clj:201)
flights-cpr.core=> (.printStackTrace *e)
clojure.lang.ExceptionInfo: clj-http: status 400 {:status 400, :headers {"Warning" "299 Elasticsearch-5.5.2-b2f0c09 \"Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.\" \"Thu, 07 Sep 2017 21:10:08 GMT\"", "content-type" "text/plain; charset=UTF-8", "transfer-encoding" "chunked"}, :body "No handler found for uri [/myindex] and method [POST]", :request-time 31, :trace-redirects ["http://127.0.0.1:9200/myindex"], :orig-content-encoding "gzip"}

It seems to be a common issue with ES 5.5.2, but how can I face it with Elastisch? I need to use mappings to use geo_points, and can't :'(

Did I do something wrong.

Thanks in advance for your support,

Best,

J.

MOHIT SHARMA 15MCA1087

unread,
Sep 9, 2017, 7:13:05 AM9/9/17
to clojure-elasticsearch
can you post what query you have written.
Reply all
Reply to author
Forward
0 new messages