manifest / integrations / elasticpress-autosuggest-endpoint
Elasticpress Autosuggest Endpoint
Creates Endpoint for the WordPress Plugin ElasticPress to make use of the Autosuggest feature
★ 24stars
34composer installs
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/grossherr/elasticpress-autosuggest-endpoint/archive/refs/heads/master.zipOn Packagist as grossherr/elasticpress-autosuggest-endpoint:
composer require grossherr/elasticpress-autosuggest-endpointNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
No Longer Maintained
Take a look at: https://github.com/grossherr/elasticpress-autosuggest-endpoint/issues/12#issuecomment-580247406
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).