1.21.4 • Published 2 days ago

@elastic/search-ui-site-search-connector v1.21.4

Weekly downloads
1,289
License
Apache-2.0
Repository
github
Last release
2 days ago

search-ui-site-search-connector

Part of the Search UI project.

This Connector is used to connect Search UI to Elastic's Site Search API.

While Site Search supports multiple document types, Search UI will only support a single document type, and it must be provided up front when creating the connector.

Note that Site Search does not support certain features of Search UI:

  • disjunctiveFacets or disjunctiveFacetsAnalyticsTags configuration options
  • Only value facets are allowed, no range facet support.
  • sort option is not supported on facets.
  • size option is not supported on facets.
  • Does not support multiple filters applied to a single field.
  • Cannot apply more than 1 range filter on a single field.
  • Analytics tags are not supported in click.
  • suggestions are not supported in autocomplete, only results
  • The none filter type is not supported.

Usage

npm install --save @elastic/search-ui-site-search-connector
import SiteSearchAPIConnector from "@elastic/search-ui-site-search-connector";

const connector = new SiteSearchAPIConnector({
  documentType: "national-parks",
  engineKey: "Z41R5U3Hi4s5gp1aw7kA"
});

Classes

Typedefs

SiteSearchAPIConnector

Kind: global class

new SiteSearchAPIConnector(options)

ParamType
optionsOptions

next : function

Kind: global typedef

ParamTypeDescription
updatedQueryOptionsObjectThe options to send to the API

hook : function

Kind: global typedef

ParamTypeDescription
queryOptionsObjectThe options that are about to be sent to the API
nextnextThe options that are about to be sent to the API

Options

Kind: global typedef

ParamTypeDefaultDescription
documentTypestringDocument Type found in your Site Search Dashboard
engineKeystringCredential found in your Site Search Dashboard
beforeSearchCallhook(queryOptions,next)=>next(queryOptions)A hook to amend query options before the request is sent to the API in a query on an "onSearch" event.
beforeAutocompleteResultsCallhook(queryOptions,next)=>next(queryOptions)A hook to amend query options before the request is sent to the API in a "results" query on an "onAutocomplete" event.
1.21.4

2 days ago

1.21.3

2 days ago

1.21.2

16 days ago

1.21.1

2 months ago

1.21.0

2 months ago

1.19.1

1 year ago

1.20.1

1 year ago

1.20.2

1 year ago

1.20.0

1 year ago

1.19.0

1 year ago

1.18.1

2 years ago

1.18.0

2 years ago

1.8.2

2 years ago

1.18.3

1 year ago

1.18.2

2 years ago

1.14.0

2 years ago

1.16.0

2 years ago

1.15.0

2 years ago

1.13.0

2 years ago

1.17.1

2 years ago

1.17.0

2 years ago

1.12.1

2 years ago

1.12.0

2 years ago

1.11.3

2 years ago

1.11.0

2 years ago

1.11.2

2 years ago

1.11.1

2 years ago

1.11.0-canary.0

2 years ago

1.10.2

2 years ago

1.10.1

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.10.0-rc.1

2 years ago

1.10.0-rc.0

2 years ago

1.8.0

2 years ago

1.8.0-rc.0

2 years ago

1.8.0-canary.1

2 years ago

1.6.1

3 years ago

1.7.0

3 years ago

1.6.0

3 years ago

1.5.1-rc.0

3 years ago

1.5.1

3 years ago

1.5.0-rc.3

4 years ago

1.5.0

4 years ago

1.5.0-rc.0

4 years ago

1.4.1

4 years ago

1.4.1-rc.0

4 years ago

1.4.0

4 years ago

1.4.0-rc.4

4 years ago

1.4.0-rc.3

4 years ago

1.3.3

4 years ago

1.4.0-canary.6

4 years ago

1.4.0-canary.5

4 years ago

1.3.3-minor.1

4 years ago

1.3.3-minor.2

4 years ago

1.3.3-minor.3

4 years ago

1.3.3-minor.8

4 years ago

1.3.2

4 years ago

1.3.3-canary.1

4 years ago

1.3.3-canary.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.3.0-canary.11

4 years ago

1.2.0

5 years ago

1.2.0-rc.0

5 years ago

1.1.0

5 years ago

1.0.1-canary1.22

5 years ago

1.0.1-canary.22

5 years ago

1.0.0

5 years ago

1.0.0-rc.2

5 years ago

1.0.0-rc.1

5 years ago

1.0.0-canary.3

5 years ago

1.0.0-alpha.1

5 years ago

1.0.0-rc.0

5 years ago

0.12.1

5 years ago

0.12.0

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.2-alpha.6

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago