mem - added key reverse index
 invertedindex in mem added