Class ElasticsearchEngine

java.lang.Object
com.codename1.backend.search.ElasticsearchEngine
All Implemented Interfaces:
SearchEngine, Closeable, AutoCloseable

public final class ElasticsearchEngine extends Object implements SearchEngine

Elasticsearch (7 and 8) and OpenSearch over their REST API.

The request bodies used are the subset both projects share: bool queries with multi_match and term, terms aggregations, highlight and track_total_hits. Basic authentication comes from the URL, an API key from cn1.search.apiKey, and an Amazon OpenSearch domain is signed with SigV4 instead.