Part of the Search UI project.
This Connector is used to connect Search UI to Elasticsearch Engines.
npm install --save @elastic/search-ui-engines-connector
import EnginesConnector from "@elastic/search-ui-engines-connector";
const connector = new EnginesConnector({
host: "https://my-engines-demo.ent.us-east4.gcp.elastic-cloud.com/",
engineName: "puggles",
apiKey: "QTJDMHhJVUJENHg5WETWcXlrWVQ6dXFlcF9QRWdRWHl2Rm9iSndka1Rndw=="
});
Kind: global class
Param | Type |
---|---|
options | Options |
Kind: global typedef
Param | Type | Default | Description |
---|---|---|---|
host | string |
Engines Host. | |
engineName | string |
The name of the engine to search | |
apiKey | string |
API Key for the engine. Can be found within the Engine view UI. |
-
search_fields
object is required with all fields you want to search by.