I've recently started out with Elastic and had everything running absolutely perfectly on my local dev machine.
Yesterday I thought I'd get an idea of how clusters work, so I installed Elastic on my Raspberry Pi 2, gave it an IP address, the same cluster name and a proper node name.
I noticed connect messages on the console of my windows machine, in Marvel although the little summary at the top showed 2 nodes in the node list it only ever showed the windows machine and both nodes. I used the _cluster endpoint to investigate and it appeared they'd connected ok.
This morning I wake up, sit down and clicked refresh on a PHP API I was working on(using elastic) and got "No nodes available" despite the one on my local machine apparently being up and green AND the other on the Pi!
After a couple of restarts on both the Pi and the windows box I was still getting the same error so I decided to stop the node on the Pi and switch the configuration of the windows machine back to it's localhost settings(network host to 127.0.0.1).
Now the index I created has completely disappeared!
What did I do wrong?
Is there any way to fix it?