-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugins: Allow plugins to serve a _site, automatically download github plugins #978
Comments
Very nice! |
Coolness!! :-) |
coolala |
I will definitely be promoting this as the way to use es-head once 0.17 is out. As well as overall awesomeness, there are really useful features of html5 that you can only use when serving the site from http: rather than file: |
I feel this blurs the difference between CouchDB and Elasticsearch. CouchDB is a big proponent of hosted HTML/JS apps. With this (maybe) one can host search driven apps right inside ES. :-) |
Cool Stuff :) |
Awesome!!! |
Will it always refer to master in repo? Or is there any way to refer to particular tags or even commits? |
It will try and download first based on the elasticsearch version, first, download a file (from github download, names with ES version), then a tag, and last, master. So, you can simply tag your project and match the elasticsearch version that comes out. |
Plugins can now have sites in them, any plugin that exists under the
plugins
directory with an_site
directory, its content will be statically served when hitting/_plugin/[plugin_name]/
.Installed plugins that do not contain any java related content, will automatically be detected as site plugins, and their content will be moved under
_site
.Plugins will automatically be downloaded from github if they follow the
user_name/repo_name
structure.For example, in order to use the
mobz/elasticsearch-head
plugin, we can execute:bin/plugin -install mobz/elasticsearch-head
. Then, we can point our browser tohttp://localhost:9200/_plugin/head/
and see the site.The text was updated successfully, but these errors were encountered: