manifest / integrations / elasticpress-autosuggest-endpoint
Elasticpress Autosuggest Endpoint
Basic WordPress Plugin Header Comment
by Nicolai · github.com/grossherr/elasticpress-autosuggest-endpoint · website
★ 24stars
34composer installs
8forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/grossherr/elasticpress-autosuggest-endpoint/archive/refs/heads/master.zipAlso on Packagist as grossherr/elasticpress-autosuggest-endpoint:
composer require grossherr/elasticpress-autosuggest-endpointFrom the readme
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 epautosuggest()
- 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 registerrestroute) as the endpoint URL in the admin (ElasticPress / Autosuggest / Settings).