updated the direct index api
removed an invalid migration of the apis
codebase used to migrate to java8 the production system