Skip to content
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

Closed
kimchy opened this issue May 28, 2011 · 9 comments
Closed

Comments

@kimchy
Copy link
Member

kimchy commented May 28, 2011

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 to http://localhost:9200/_plugin/head/ and see the site.

@kimchy kimchy closed this as completed in 3652d57 May 28, 2011
@clintongormley
Copy link
Contributor

Very nice!

@mahendra
Copy link
Contributor

Coolness!! :-)

@medcl
Copy link
Contributor

medcl commented Jun 2, 2011

coolala

@mobz
Copy link

mobz commented Jun 2, 2011

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:

@mahendra
Copy link
Contributor

mahendra commented Jun 2, 2011

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. :-)

@janl
Copy link

janl commented Jun 2, 2011

Cool Stuff :)

@karmi
Copy link
Contributor

karmi commented Jun 2, 2011

Awesome!!!

@lukas-vlcek
Copy link
Contributor

Will it always refer to master in repo? Or is there any way to refer to particular tags or even commits?
(I was looking into code, it seems there is a way how to specify at least version but it is not yet documented.)

@kimchy
Copy link
Member Author

kimchy commented Jun 9, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants