The data is maintained across instances of the service running, but if you shutdown elasticsearch and there is content that doesn't get indexed, you will need to do a reindex to replace it. (If you run something like this, you should consider elasticsearch to be on par with the web server or MySQL in terms of importance: if it's down, it's a big deal.)