public class NexusIndexMultiReader extends Object
Constructor and Description |
---|
NexusIndexMultiReader(Collection<IndexingContext> contexts) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.index.IndexReader |
acquire() |
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. |
void |
release() |
public NexusIndexMultiReader(Collection<IndexingContext> contexts)
public org.apache.lucene.index.IndexReader acquire() throws IOException
IOException
public void release() throws IOException
IOException
public List<org.apache.lucene.search.IndexSearcher> getAcquiredSearchers()
acquire()
method
invoked at all or not. Returns null
if not, otherwise the list of acquired searchers. Not thread safe.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.