public ConnectionPool(string host, int port, ConnectionPoolConfig config,bool isframed=false)
		{
			if (config == null) throw new ArgumentNullException("config");

			_target = new Server(host, port,isframed);
			_config = config;
			_socketSettings = config.SocketSettings ?? TSocketSettings.DefaultSettings;

			if (config.PoolSize > 0)
			{
				_useLimiter = true;
				_connectionLimiter = new Semaphore(config.PoolSize, config.PoolSize);
			}
		}
 public ElasticSearchConfig()
 {
     ConnectionPool = new ConnectionPoolConfig();
 }