"failed to reduce search"

Hi,

ES 2.3.0

When starting Timelion ES throws the following error:

[2016-07-04 14:10:26,915][DEBUG][action.search            ] [Hector] failed to reduce search
Failed to execute phase [fetch], [reduce]
	at org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction$2.onFailure(SearchQueryThenFetchAsyncAction.java:146)
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: script_lang not supported [expression]
	at org.elasticsearch.script.ScriptService.getScriptEngineServiceForLang(ScriptService.java:212)
[..]

That is why.
What does your query look like?

Hi @warkolm
Just opening the basic Timelion interface:

.es(*)

Michael

I figured out.

For some reason the FreeBSD port/package does not install any of the ES modules. I've added lang-expression and lang-groovy and the error is gone.

I have also reported the anomaly to the FreeBSD port maintainer, so this can be fixed.

Thanks,

Michael

1 Like