wordpress-plugin elasticpress-autosuggest-endpoint
Creates Endpoint for the WordPress Plugin ElasticPress to make use of the Autosuggest feature
grossherr/elasticpress-autosuggest-endpoint
Creates Endpoint for the WordPress Plugin ElasticPress to make use of the Autosuggest feature
- Monday, June 4, 2018
- by grossherr
- Repository
- 0 Watchers
- 4 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 1 Versions
- 0 % Grown
No Longer Maintained
Take a look at: https://github.com/grossherr/elasticpress-autosuggest-endpoint/issues/12#issuecomment-580247406, (*1)
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).