Query using lang-javascript hangs under Ubuntu 12.04

I installed lang-javascript and I see this in my log:

[2013-04-14 19:15:19,426][INFO ][plugins ] [Moondark]
loaded [lang-javascript], sites []

When I post the following to the _search api elasticsearch does not respond
and the http request times out:

{
"query":{
"filtered":{
"query":{
"match_all":{}
},
"filter":{
"missing":{
"field":"deletedAt",
"existence":true,
"null_value":true
}
}
}
},
"sort":[{
"_script":{
"script":"doc['usernamesAssigned'].values.sort().join()",
"type":"string",
"lang":"js",
"order":"asc"
}
}],
"size":100
}

This same query works fine on my development machine (mac os x). Is there a
dependency Ubuntu doesn't have or something?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I figured it out. I needed log4j installed:

sudo apt-get install liblog4j1.2-java

On Sunday, April 14, 2013 8:21:17 PM UTC-7, tr...@scriptedmotion.com wrote:

I installed lang-javascript and I see this in my log:

[2013-04-14 19:15:19,426][INFO ][plugins ] [Moondark]
loaded [lang-javascript], sites

When I post the following to the _search api elasticsearch does not
respond and the http request times out:

{
"query":{
"filtered":{
"query":{
"match_all":{}
},
"filter":{
"missing":{
"field":"deletedAt",
"existence":true,
"null_value":true
}
}
}
},
"sort":[{
"_script":{
"script":"doc['usernamesAssigned'].values.sort().join()",
"type":"string",
"lang":"js",
"order":"asc"
}
}],
"size":100
}

This same query works fine on my development machine (mac os x). Is there
a dependency Ubuntu doesn't have or something?

--
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.
For more options, visit https://groups.google.com/groups/opt_out.