title: How to efficiently run multiple lucene search queries on MemoryIndex document?
body: <p>I am using MemoryIndex in lucene Java API to index a text content in memory and run queries over it. There can be hundreds of such queries running on a single doc to get matches. I would like to know the efficient way to do this.</p>
  
  <p>Currently I am creating multiple Query objects and looping over them to see which match my text in memory.</p>
  
  <p>The text can be few KBs in size.
  Queries will be complex boolean and phrases combined.
  Size of a query might be around 1KB max.</p>