Change index locationa to RAMdirectory and hardcommit to autosoftcommit