Class SearchEngines

java.lang.Object
com.codename1.backend.search.SearchEngines

public final class SearchEngines extends Object

Opens the SearchEngine a configuration names, and finds the one of the calling thread's server.

Setting Default
cn1.search.url database: see the package description; SEARCH_URL in the environment
cn1.search.apiKey an Elasticsearch API key, sent as Authorization: ApiKey

Without cn1.search.url, Spring Boot's spring.elasticsearch.uris (the first of them, with spring.elasticsearch.username and .password) is used, so a Spring configuration carries over. database: searches the database cn1.datasource.url names.