grossherr / elasticpress-autosuggest-endpoint
Creates Endpoint for the WordPress Plugin ElasticPress to make use of the Autosuggest feature
Package info
github.com/grossherr/elasticpress-autosuggest-endpoint
Type:wordpress-plugin
pkg:composer/grossherr/elasticpress-autosuggest-endpoint
dev-master
2020-09-09 02:47 UTC
Requires
This package is not auto-updated.
Last update: 2026-03-15 13:47:43 UTC
README
Take a look at: #12 (comment)
Elasticpress Autosuggest Endpoint
Configuration:
- Elasticsearch Index name will be set automatically
- Optionally, specify the index name in ep_autosuggest()
- If needed, customize the endpoint in elasticpress-autosuggest-endpoint.php
- Otherwise, keep default settings
Setup:
- Elasticpress PHP Client is necessary (for Wordpress, see ElasticPress by 10up)
- if installed via composer it should be added automatically
- if not, go to plugin directory and run: composer install --no-dev
Elasticpress Autosuggest Settings:
- Default endpoint is http(s)://yourdomainname.com/wp-json/elasticpress/autosuggest/
- Use the default endpoint (or whatever you specified in register_rest_route) as the endpoint URL in the admin (ElasticPress / Autosuggest / Settings).