added api to register/unregister Index Factory at runtime
Merge pull request #2303 from maggiolo00/runtime-factory

added api to register/unregister Index Factory at runtime