#4761 updating means to obtain the IndexManager to new hibernate search api and extending according test
#4761 updating means to obtain the IndexManager to new hibernate search api and extending according test