Hello,
I'm not sure this have already been reported, but i can't found it on
github issues
This query
$ curl http://localhost:9200/_search -d '{"filter": {}, "query":
{"match_all": {}}}'
give the follwing errors :
{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[Uc0lFFnfRPWiN6twjVxqFg][m108][0]: QueryPhaseExecutionException[[m108][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m109][0]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m109][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m0ar][3]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m0ar][3]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m0ar][2]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m0ar][2]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m110][0]: QueryPhaseExecutionException[[m110][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m0ar][1]: QueryPhaseExecutionException[[m0ar][1]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m111][0]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m111][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m0ar][0]: QueryPhaseExecutionException[[m0ar][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m112][0]: QueryPhaseExecutionException[[m112][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m104][0]: QueryPhaseExecutionException[[m104][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m103][0]: QueryPhaseExecutionException[[m103][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m102][0]: QueryPhaseExecutionException[[m102][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m105][0]: QueryPhaseExecutionException[[m105][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[Uc0lFFnfRPWiN6twjVxqFg][m_alert][0]: QueryPhaseExecutionException[[m_alert][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m106][0]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m106][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m107][0]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[m107][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }{[2hXe71VwRO6qAkz09mHlEw][m101][0]: RemoteTransportException[[sissor2][inet[/192.168.110.90:9300]][search/phase/query]]; nested: QueryPhaseExecutionException[[
m101][0]: query[ConstantScore(:)],from[0],size[10]: Query Failed [Failed to execute main query]]; nested: NullPointerException; }]","status":500}
Removing the empty filter solve the problem.
I will try to reproduce it with a minimal setup.
Regards.
Benoît
--
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.