Flow PHP

ElasticsearchExtractor implements Extractor

FinalYes

Interfaces

Extractor

Methods

__construct()  : mixed
extract()  : Generator
withPointInTime()  : self

Methods

__construct()

public __construct(array{hosts?: string[], connectionParams?: array, retries?: int, sniffOnStart?: bool, sslCert?: string[], sslKey?: string[], sslVerification?: bool|string, elasticMetaHeader?: bool, includePortInHostHeader?: bool} $config, array<string|int, mixed> $parameters) : mixed
Parameters
$config : array{hosts?: string[], connectionParams?: array, retries?: int, sniffOnStart?: bool, sslCert?: string[], sslKey?: string[], sslVerification?: bool|string, elasticMetaHeader?: bool, includePortInHostHeader?: bool}
$parameters : array<string|int, mixed>
  • https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html

extract()

public extract(FlowContext $context) : Generator
Parameters
$context : FlowContext
Return values
Generator

withPointInTime()

public withPointInTime(array<string|int, mixed> $pointInTimeParams) : self
Parameters
$pointInTimeParams : array<string|int, mixed>
  • https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html
Return values
self

        
On this page

Search results