[ANN] Elasticsearch Javascript Nashorn Language plugin 1.0.1.1 released


(Jörg Prante) #1

Hi,

I'd like to announce a new plugin for Elasticsearch, for supporting the
Java 8 Javascript Engine aka "Nashorn" as a script language.

Maven project site:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/

Javadoc:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/apidocs/index.html

Bintray:

https://bintray.com/jprante/elasticsearch-plugins/elasticsearch-lang-javascript-nashorn/

Because I used the JSR 223 scripting engine API, the source code of the
plugin could be useful to integrate other JSR 223 scripting languages into
Elasticsearch.

Note, for using it successfully, you must start ES under Java 8 runtime
environment. Java 8 is currently under early access, but a GA will be
released soon.

https://jdk8.java.net/download.html

http://openjdk.java.net/projects/jdk8/

Let's hope that Lucene/Elasticsearch will soon make the switch to Java 8
also at source level. MVEL needs some work
http://jira.codehaus.org/browse/MVEL-299

Feed back is more than welcome!

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHe1iPnhBB9U%3DnATeLarT_d-bsmsiGW7Gg8%3DdT3kPOyfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(David Pilato) #2

Note that there is a PR opened about it in elasticsearch-lang-javascript project: https://github.com/elasticsearch/elasticsearch-lang-javascript/pull/13

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 mars 2014 à 13:36, "joergprante@gmail.com" joergprante@gmail.com a écrit :

Hi,

I'd like to announce a new plugin for Elasticsearch, for supporting the Java 8 Javascript Engine aka "Nashorn" as a script language.

Maven project site:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/

Javadoc:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/apidocs/index.html

Bintray:

https://bintray.com/jprante/elasticsearch-plugins/elasticsearch-lang-javascript-nashorn/

Because I used the JSR 223 scripting engine API, the source code of the plugin could be useful to integrate other JSR 223 scripting languages into Elasticsearch.

Note, for using it successfully, you must start ES under Java 8 runtime environment. Java 8 is currently under early access, but a GA will be released soon.

https://jdk8.java.net/download.html

http://openjdk.java.net/projects/jdk8/

Let's hope that Lucene/Elasticsearch will soon make the switch to Java 8 also at source level. MVEL needs some work http://jira.codehaus.org/browse/MVEL-299

Feed back is more than welcome!

Best,

Jörg

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHe1iPnhBB9U%3DnATeLarT_d-bsmsiGW7Gg8%3DdT3kPOyfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/FEB6D93B-1606-461D-9341-883BD2335013%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #3

Hello Jörg ,

This is great news.
I am sure I can find great use with this.

Thanks
Vineeth

On Sat, Mar 8, 2014 at 6:30 PM, David Pilato david@pilato.fr wrote:

Note that there is a PR opened about it in elasticsearch-lang-javascript
project:
https://github.com/elasticsearch/elasticsearch-lang-javascript/pull/13

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 8 mars 2014 à 13:36, "joergprante@gmail.com" joergprante@gmail.com a
écrit :

Hi,

I'd like to announce a new plugin for Elasticsearch, for supporting the
Java 8 Javascript Engine aka "Nashorn" as a script language.

https://github.com/jprante/elasticsearch-lang-javascript-nashorn

Maven project site:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/

Javadoc:

http://jprante.github.io/elasticsearch-lang-javascript-nashorn/apidocs/index.html

Bintray:

https://bintray.com/jprante/elasticsearch-plugins/elasticsearch-lang-javascript-nashorn/

Because I used the JSR 223 scripting engine API, the source code of the
plugin could be useful to integrate other JSR 223 scripting languages into
Elasticsearch.

Note, for using it successfully, you must start ES under Java 8 runtime
environment. Java 8 is currently under early access, but a GA will be
released soon.

https://jdk8.java.net/download.html

http://openjdk.java.net/projects/jdk8/

Let's hope that Lucene/Elasticsearch will soon make the switch to Java 8
also at source level. MVEL needs some work
http://jira.codehaus.org/browse/MVEL-299

Feed back is more than welcome!

Best,

Jörg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHe1iPnhBB9U%3DnATeLarT_d-bsmsiGW7Gg8%3DdT3kPOyfA%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAKdsXoHe1iPnhBB9U%3DnATeLarT_d-bsmsiGW7Gg8%3DdT3kPOyfA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/FEB6D93B-1606-461D-9341-883BD2335013%40pilato.frhttps://groups.google.com/d/msgid/elasticsearch/FEB6D93B-1606-461D-9341-883BD2335013%40pilato.fr?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5m2-%2B3h9JBj8OXMuAFOin3U4NXS_jYqUjySCHuTtgLZjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #4

Vineeth, the plugin should work, but the plugin is still challenging in the
performance area where I suspect that JSR 223 is the culprit. So please be
prepared... improvements are on the way, they may need extra code to use
Nashon internal API.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoEicXeg4E4cpcVsqcRGztXM-Gr4qYjP5O9ZXzw0%3DvZdDw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Jörg Prante) #5

To add to my own response, this posting relates to Nashorn multithreading
issues which I'm wrestling with

https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt

As the current status of Nashorn threading is not clear to me, I need some
time to investigate.

Jörg

On Sun, Mar 9, 2014 at 10:50 AM, joergprante@gmail.com <
joergprante@gmail.com> wrote:

Vineeth, the plugin should work, but the plugin is still challenging in
the performance area where I suspect that JSR 223 is the culprit. So please
be prepared... improvements are on the way, they may need extra code to use
Nashon internal API.

Jörg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoG53S6WVuFQR7Vm9-UC9vQLy3hECXEm_nCEHjD_yZZBMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(vineeth mohan-2) #6

Hello Jörg ,

Thanks for letting me know.
I will keep an eye open on this.

Thanks
Vineeth

On Sun, Mar 9, 2014 at 3:28 PM, joergprante@gmail.com <joergprante@gmail.com

wrote:

To add to my own response, this posting relates to Nashorn multithreading
issues which I'm wrestling with

https://blogs.oracle.com/nashorn/entry/nashorn_multi_threading_and_mt

As the current status of Nashorn threading is not clear to me, I need some
time to investigate.

Jörg

On Sun, Mar 9, 2014 at 10:50 AM, joergprante@gmail.com <
joergprante@gmail.com> wrote:

Vineeth, the plugin should work, but the plugin is still challenging in
the performance area where I suspect that JSR 223 is the culprit. So please
be prepared... improvements are on the way, they may need extra code to use
Nashon internal API.

Jörg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoG53S6WVuFQR7Vm9-UC9vQLy3hECXEm_nCEHjD_yZZBMA%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAKdsXoG53S6WVuFQR7Vm9-UC9vQLy3hECXEm_nCEHjD_yZZBMA%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kbpSt_K5bhyiHm__oBmjfFe%3D1Jf25YjJdJ-5x07omHdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(system) #7