org.hibernate.search.reader.impl

## Class MultiReaderFactory

- java.lang.Object
- - org.hibernate.search.reader.impl.MultiReaderFactory

-     public final class MultiReaderFactory
      extends Object

  Creates and closes the IndexReaders encompassing multiple indexes.
  Author:
    Sanne Grinovero (C) 2011 Red Hat Inc.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `closeReader(IndexReader multiReader)`
    `static IndexReader` | `openReader(IndexManager... indexManagers)`
    `static IndexReader` | `openReader(Map<String,IndexManager> indexManagers)`
    `static IndexReader` | `openReader(SortConfigurations configuredSorts, Sort sort, IndexManager[] indexManagers, boolean indexUninvertingAllowed)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### openReader

          public static IndexReader openReader(Map<String,IndexManager> indexManagers)

    - #### openReader

          public static IndexReader openReader(IndexManager... indexManagers)

    - #### openReader

          public static IndexReader openReader(SortConfigurations configuredSorts,
                                               Sort sort,
                                               IndexManager[] indexManagers,
                                               boolean indexUninvertingAllowed)

    - #### closeReader

          public static void closeReader(IndexReader multiReader)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved