Home
last modified time | relevance | path

Searched refs:ClientBuilder (Results 1 – 25 of 30) sorted by last modified time

12

/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/
H A DREADME.md85 use Elasticsearch\ClientBuilder;
89 $client = ClientBuilder::create()->build();
370 use Elasticsearch\ClientBuilder;
382 $builder = ClientBuilder::create();
H A DBREAKING_CHANGES.md23 - [#674](https://github.com/elastic/elasticsearch-php/pull/674) `ClientBuilder::defaultLogger()` me…
H A DCHANGELOG.md62 - [DOCS] Update breaking-changes.asciidoc, removal of ClientBuilder::defaultLogger() [879](https://…
99 - ClientBuilder: setLogger() and setTracer() only accept \Psr\Log\LoggerInterface (#673) [[0270c4f]…
176 - Fix ClientBuilder - pass correct argument for Elasticsearch\Endpoints\MsearchTemplate::__construc…
H A Dphpstan-tests.neon11 … - '#expects Psr\\Log\\LoggerInterface, Elasticsearch\\Tests\\ClientBuilder\\DummyLogger given.$#'
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dsecurity.asciidoc19 $client = ClientBuilder::create()
55 $client = ClientBuilder::create()
72 $client = ClientBuilder::create()
93 $client = ClientBuilder::create()
111 $client = ClientBuilder::create()
H A Dserializers.asciidoc38 do so by using the `setSerializer()` method on the ClientBuilder object:
42 $client = ClientBuilder::create()
67 You can select `ArrayToJSONSerializer` by using the `setSerializer()` method on the ClientBuilder
71 $client = ClientBuilder::create()
95 …ct `EverythingToJSONSerializer` by using the `setSerializer()` method on the ClientBuilder object:
99 $client = ClientBuilder::create()
144 …serializer, you can specify the namespace path in the `setSerializer()` method of the ClientBuilder
149 $client = ClientBuilder::create()
162 $client = ClientBuilder::create()
H A Dconnection-pool.asciidoc34 method of the ClientBuilder object:
38 $client = ClientBuilder::create()
54 $client = ClientBuilder::create()
73 $client = ClientBuilder::create()
90 $client = ClientBuilder::create()
127 You can then instantiate an instance of your ConnectionPool and inject it into the ClientBuilder:
133 $client = ClientBuilder::create()
178 $client = ClientBuilder::create()
H A Dindex-operations.asciidoc14 $client = ClientBuilder::create()->build();
29 $client = ClientBuilder::create()->build();
H A Dnamespaces.asciidoc26 $client = ClientBuilder::create()->build();
51 $client = ClientBuilder::create()->build();
H A Dsearch-operations.asciidoc234 $client = ClientBuilder::create()->build();
H A Dfutures.asciidoc25 $client = ClientBuilder::create()->build();
52 $client = ClientBuilder::create()->build();
72 $client = ClientBuilder::create()->build();
102 $client = ClientBuilder::create()->build();
133 $defaultHandler = ClientBuilder::defaultHandler($handlerParams);
135 $client = ClientBuilder::create()
151 $defaultHandler = ClientBuilder::defaultHandler($handlerParams);
153 $client = ClientBuilder::create()
182 $client = ClientBuilder::create()->build();
H A Dinstallation.asciidoc67 $client = Elasticsearch\ClientBuilder::create()->build();
70 …iation is performed with a static helper function `create()`. This creates a ClientBuilder object,
H A Dper-request-configuration.asciidoc22 $client = ClientBuilder::create()->build();
39 $client = ClientBuilder::create()->build();
70 $client = ClientBuilder::create()->build();
97 $client = ClientBuilder::create()->build();
126 $client = ClientBuilder::create()->build();
231 $client = ClientBuilder::create()->build();
251 $client = ClientBuilder::create()->build();
278 $client = ClientBuilder::create()->build();
H A Dconfiguration.asciidoc29 $client = ClientBuilder::create() // Instantiate a new ClientBuilder
47 $clientBuilder = ClientBuilder::create(); // Instantiate a new ClientBuilder
83 $client = ClientBuilder::create() // Instantiate a new ClientBuilder
107 $client = ClientBuilder::create()
195 $client = ClientBuilder::create() // Instantiate a new ClientBuilder
221 $client = ClientBuilder::create()
242 $client = ClientBuilder::create()
259 $client = ClientBuilder::create()
280 $client = ClientBuilder::create()
334 $client = ClientBuilder::create()
[all …]
H A Dquickstart.asciidoc33 use Elasticsearch\ClientBuilder;
35 $client = ClientBuilder::create()->build();
H A Dselectors.asciidoc20 $client = ClientBuilder::create()
48 $client = ClientBuilder::create()
63 $client = ClientBuilder::create()
106 $client = ClientBuilder::create()
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ClientBuilder/
H A DDummyLogger.php4 namespace Elasticsearch\Tests\ClientBuilder;
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/
H A DClientBuilderTest.php7 use Elasticsearch\ClientBuilder; alias
9 use Elasticsearch\Tests\ClientBuilder\DummyLogger;
19 ClientBuilder::create()->setLogger(new DummyLogger);
27 ClientBuilder::create()->setTracer(new DummyLogger);
H A DClientIntegrationTests.php23 $client = Elasticsearch\ClientBuilder::create()
H A DRegisteredNamespaceTest.php8 use Elasticsearch\ClientBuilder; alias
34 $client = ClientBuilder::create()->registerNamespace($builder)->build();
41 $client = ClientBuilder::create()->registerNamespace($builder)->build();
H A DClientTest.php9 use Elasticsearch\ClientBuilder; alias
47 'handler' => ClientBuilder::multiHandler()
49 $client = ClientBuilder::fromConfig($params);
67 $client = ClientBuilder::fromConfig($params);
86 $client = ClientBuilder::create()->build();
102 $client = ClientBuilder::create()->build();
117 $client = ClientBuilder::create()->build();
133 $client = ClientBuilder::create()->build();
149 $client = ClientBuilder::create()->build();
164 $client = ClientBuilder::create()->build();
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/util/
H A DEnsureClusterAlive.php20 $client = \Elasticsearch\ClientBuilder::fromConfig([
H A DRestSpecRunner.php22 $client = \Elasticsearch\ClientBuilder::fromConfig([
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/
H A DClientBuilder.php38 class ClientBuilder class
129 public static function create(): ClientBuilder
262 public function setEndpoint(callable $endpoint): ClientBuilder
276 public function setTransport(Transport $transport): ClientBuilder
287 public function setHandler($handler): ClientBuilder
294 public function setLogger(LoggerInterface $logger): ClientBuilder
319 public function setSerializer($serializer): ClientBuilder
326 public function setHosts(array $hosts): ClientBuilder
340 public function setRetries(int $retries): ClientBuilder
350 public function setSelector($selector): ClientBuilder
[all …]
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/tests/Elasticsearch/Tests/ConnectionPool/
H A DSniffingConnectionPoolIntegrationTest.php7 use Elasticsearch\ClientBuilder; alias
29 $client = ClientBuilder::create()

12