Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evref-bl/elasticsearch-pharo-api

This is a client implementation of the Elasticsearch API in Pharo
https://github.com/evref-bl/elasticsearch-pharo-api

elasticsearch moose pharo

Last synced: 5 days ago
JSON representation

This is a client implementation of the Elasticsearch API in Pharo

Awesome Lists containing this project

README

        

# Elasticsearch - Pharo API

This is a client for the [elasticsearch REST API](https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html) in Pharo.

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

## Installation

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

## Usage example

```st

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

api performRequest
```