Class ShardHandlerFactory

    • Field Detail

      • DEFAULT_SHARDHANDLER_INFO

        public static final PluginInfo DEFAULT_SHARDHANDLER_INFO
    • Constructor Detail

      • ShardHandlerFactory

        public ShardHandlerFactory()
    • Method Detail

      • getShardHandler

        public abstract ShardHandler getShardHandler()
      • close

        public abstract void close()
      • newInstance

        public static ShardHandlerFactory newInstance​(PluginInfo info,
                                                      SolrResourceLoader loader)
        Create a new ShardHandlerFactory instance
        Parameters:
        info - a PluginInfo object defining which type to create. If null, the default HttpShardHandlerFactory will be used
        loader - a SolrResourceLoader used to find the ShardHandlerFactory classes
        Returns:
        a new, initialized ShardHandlerFactory instance