I'm building a game in Unity and using Elasticsearch as a rather basic
datastore, leveraging its ability to scale for high-volume insertion. I've
become somewhat familiar with the software over the past few weeks but am
definitely still a noob. I'm also using a web-based backend to
view/manipulate the data that I'm getting from my game, and I've recently
added an "init" button to the backend in order to easily reset and setup my
index. Until now I've been using the JS-based Head plugin to do basic
operations like create/destroy indices and browse the data.
I'm using the REST web APIs for everything (from the game and from the web)
and I've been able to follow all the curl examples exactly except for
creating the index. When I use the provided example request (PUT
http://my_server:9200/the_index) I get a (400) - Bad Request error. I've
checked and re-checked my syntax and tried exactly the same request locally
via curl, and everything appears to be working. Is this just a security
restriction--that you can't create indices from external requests?
How might I get around this for my own testing purposes. Obviously I
wouldn't extend this functionality to anyone but myself. Maybe I could
create a simple Java program to listen for a certain request and have that
create the index? I'm hoping that either this is a bug, and I can go fix
it in the source, or that there's a simpler workaround.
Any ideas? Thanks!
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.