| CARVIEW |
Select Language
HTTP/2 200
date: Fri, 26 Dec 2025 23:39:43 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"d1bcd1bc1dc5a445769c9cc7457d648e"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=eNYyEJCL3QSqRtXj%2BO0oAQYQhw%2FCOCcGJLWyHCqO0UIBk6xoRe87g5IEpbmur8%2FJ%2FNGqqQuGWVuitsrzvUtoxRb%2BtIbzl%2FrFgutXMvYAyfyzhzRsNG8znYGo%2B8or88X8%2FYCjyaNtoyQp%2FG3177J9%2F7zN%2FJwF8CK2qYhTSliQVrBqLmEgpSGYB6PJV36AoiL8x7wWAnoguzt3X%2FlgOd9iInOHG%2F%2F258d3Y59EmRASEtpDD7FGmezSvBYMmXmj55KvflUMkO8GiY0uihZWQMzyGA%3D%3D--NZk69jzJvjn8AqiN--JnhkRotQrBryrg05nZaXAg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.985051308.1766792383; Path=/; Domain=github.com; Expires=Sat, 26 Dec 2026 23:39:43 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 26 Dec 2026 23:39:43 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D6FC:3AC056:3D66DB0:49BC349:694F1CBF
GitHub - alleyinteractive/es-admin
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 6
alleyinteractive/es-admin
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
=== ES Admin === Contributors: mboynes, alleyinteractive Tags: search, admin, wp-admin, faceted search, elasticsearch Requires at least: 4.5 Tested up to: 4.6 Stable tag: 0.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Insanely powerful admin search, powered by Elasticsearch. == Description == Adds a powerful faceted search page to the admin area to search all posts across all post types. Optionally, this plugin can also replace core's post search forms throughout the entire admin area to leverage Elasticsearch for faster, more relevant search results. == Prerequisites == * Elasticsearch server * Elasticsearch plugin/adapter (e.g. [SearchPress](https://github.com/alleyinteractive/searchpress) * [ES_WP_Query](https://github.com/alleyinteractive/es-wp-query) if you want to use the optional core search replacement. == Installation == ES Admin is designed to be able to work with any Elasticsearch index, regardless of how the data is mapped. In order to accomplish this, ES Admin requires you to register an "Adapter", which maps appropriate post fields (e.g. `post_content`) to the Elasticsearch index path (e.g. `post_content.analyzed`). ES Admin currently comes with four adapters: [SearchPress](https://github.com/alleyinteractive/searchpress), [WordPress.com](https://vip-svn.wordpress.com/plugins/wpcom-elasticsearch/wpcom-elasticsearch.php) (used by WordPress.com VIP sites hosted on the main WordPress.com platform), [Jetpack Search](https://jetpack.com/support/search/) (available on VIP Go or as part of Jetpack's Professional Plan), and a generic adapter primarily used for unit testing. You aren't limited to using one of the included adapters, you can very easily build your own to work with your Elasticsearch plugin of choice by extending the `ES_Admin\Adapters\Adapter` abstract class. See the [Generic Adapter](https://github.com/alleyinteractive/es-admin/blob/master/lib/adapters/class-generic.php) as an example to create your own. Once you have your adapter, you register it with ES Admin using the `es_admin_adapter` filter. This filter expects a class name in return, which must be an `ES_Admin\Adapters\Adapter` extension. Here's an example using this filter with the SearchPress adapter: ```php add_filter( 'es_admin_adapter', function() { return '\ES_Admin\Adapters\SearchPress'; } ); ``` In order to use the optional "core search replacement" feature, which will replace any post search form in the admin with an Elasticsearch integration, you must also install and activate [ES_WP_Query](https://github.com/alleyinteractive/es-wp-query) (see the [README](https://github.com/alleyinteractive/es-wp-query/blob/master/README.md) on setting up ES_WP_Query). ES_WP_Query must be setup with its own adapter prior to the `after_setup_theme` action fires at priority `10`. Here's an example setting up ES_WP_Query to use its SearchPress adapter, and doing so at `after_setup_theme` priority `5` to ensure it fires before ES Admin needs it: ```php add_action( 'after_setup_theme', function() { if ( function_exists( 'es_wp_query_load_adapter' ) ) { es_wp_query_load_adapter( 'searchpress' ); } }, 5 ); ``` When setup correctly, ES Admin will add a settings page to enable/disable the search integration. Once enabled, all post search forms in the admin will use Elasticsearch to deliver search results.
About
No description, website, or topics provided.
Resources
Code of conduct
Contributing
Security policy
Stars
Watchers
Forks
Packages 0
No packages published
You can’t perform that action at this time.