Class NexusIndexMultiReader

java.lang.Object
org.apache.maven.index.context.NexusIndexMultiReader

public class NexusIndexMultiReader extends Object
  • Constructor Details

  • Method Details

    • acquire

      public org.apache.lucene.index.IndexReader acquire() throws IOException
      Throws:
      IOException
    • release

      public void release() throws IOException
      Throws:
      IOException
    • getAcquiredSearchers

      public List<org.apache.lucene.search.IndexSearcher> getAcquiredSearchers()
      Watch out with this method, as it's use depends on (if you control it at all) was acquire() method invoked at all or not. Returns null if not, otherwise the list of acquired searchers. Not thread safe.
      Returns: