Evref-BL / Elasticsearch-Pharo-API

This is a client implementation of the Elasticsearch API in Pharo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elasticsearch - Pharo API

This is a client for the elasticsearch REST API in Pharo.

We improve this repository when we need it, and thus it might not implement all the features.

Installation

Metacello new
  githubUser: 'Evref-BL' project: 'Elasticsearch-Pharo-API' commitish: 'main' path: 'src';
  baseline: 'ElasticsearchAPI';
  load

Usage example

api := ELKSearchApi new.
api beHttp.
api endpoint: 'localhost'.
api port: 9200.
api index: '.ds-traces-apm-default-2023.02.17-000001'.
api apiKey: '<myToken>'.
api size: 5000.

api  performRequest 

About

This is a client implementation of the Elasticsearch API in Pharo

License:MIT License


Languages

Language:Smalltalk 100.0%