org.hibernate.search.reader.impl
Class ReaderProviderHelper
java.lang.Object
org.hibernate.search.reader.impl.ReaderProviderHelper
public abstract class ReaderProviderHelper
- extends Object
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReaderProviderHelper
public ReaderProviderHelper()
getSubReadersFromMultiReader
public static IndexReader[] getSubReadersFromMultiReader(MultiReader parentReader)
buildMultiReader
public static IndexReader buildMultiReader(int length,
IndexReader[] readers,
ReaderProvider[] managers)
clean
public static void clean(SearchException e,
IndexReader... readers)
getIndexReaders
public static Set<IndexReader> getIndexReaders(IndexSearcher searchable)
- Find the underlying IndexReaders for the given searchable
- Parameters:
searchable
- The searchable to find the IndexReaders for
- Returns:
- A list of all base IndexReaders used within this searchable
getIndexReaders
public static Set<IndexReader> getIndexReaders(IndexReader reader)
- Find the underlying IndexReaders for the given reader
- Parameters:
reader
- The reader to find the IndexReaders for
- Returns:
- A list of all base IndexReaders used within this searchable
Copyright © 2006-2013 Red Hat Middleware, LLC. All Rights Reserved