grossherr / elasticpress-autosuggest-endpoint
Creates Endpoint for the WordPress Plugin ElasticPress to make use of the Autosuggest feature
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 24
Watchers: 2
Forks: 9
Open Issues: 2
Type:wordpress-plugin
Requires
This package is not auto-updated.
Last update: 2024-04-28 03:19:58 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).