title: What is the best Data Structure to create inverted index in Java?
body: <p>I have filtered Token Stream with me.
  Now I need to create a Indexer for it.
  I am aware that HashMap get/put operations are O(1). So I will be using that for sure.
  The problem in deciding the best Data Structure keeping in mind the search queries on that indexer.</p>