Changing the index store type from memory to default on 1.7

I wanted to change the index store type from "memory" to "default" in elasticsearch 1.7 . Since changing the index store type isn't a dynamic setting, I closed the index , changed the store type and opened the index. However the data wasn't recovered after that. Is this the expected behavior ? And if so, how do I retrieve the data ?