Made some change on api to allow creating a new external index engine



<!---
@huboard:{"order":2191.0,"custom_state":""}
-->