PHOENIX-933 Local index support to Phoenix

Updated pull request after resolving conflicts and handling James review comments.
Add this at the end of the enum