Developer Documentation
Customizing Autosuggest
Connecting Autosuggest to Your Theme’s Search Bar When enabled, ElasticPress Autosuggest will automatically add itself to any input[type=”search”] elements on the page, as well as any elements with the .ep-autosuggest or .search-field classes. You can add Autosuggest to additional elements yourself…
Understanding the default ElasticPress/Elasticsearch search query
For both the Post search and Autosuggest Features, ElasticPress performs the same default Elasticsearch query. This query can be filtered by changing the settings in the ElasticPress -> Search Fields & Weighting menu in the…
WordPress Hooks – Actions and Filters
The full list of hooks available in the ElasticPress plugin is available at https://10up.github.io/ElasticPress/index.html.
WP-CLI Commands
The full list of ElasticPress commands is available at https://10up.github.io/ElasticPress/tutorial-wp-cli.html.
Customizing Instant Results
When ElasticPress Instant Results renders search results it does so using a React component. You can replace this component with your own from within a theme or plugin using the ep.InstantResults.Result JavaScript hook. The result component…