logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Search::Elasticsearch::Client::8_0::Direct::ConnectorSyncJob - A client for create and manage Elastic

Author

       Enrico Zimuel <enrico.zimuel@elastic.co>

Description

       The sync jobs API provides a convenient way to create and manage Elastic sync jobs in an internal index.

       This API provides an alternative to relying solely on Kibana UI for sync job management.

       The full documentation for Sync job feature is available here:
       <https://www.elastic.co/guide/en/elasticsearch/reference/8.12/connector-apis.html#sync-job-apis>

       It does Search::Elasticsearch::Role::Client::Direct.

Methods

put()
           $response = $e->connector_sync_job->post(
               body => {
                   id => "connector-id",
                   job_type => "full",
                   trigger_method => 'on_demand'
               }
           );

       The post() method create a connector sync job.

Name

       Search::Elasticsearch::Client::8_0::Direct::ConnectorSyncJob - A client for create and manage Elastic
       sync jobs

Version

       version 8.12

See Also