You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stuffed up while writing a simple faceted query for the top three terms and got an NPE from Elasticsearch rather than the expected "invalid query" error.
This is on Elasticsearch 0.17.0. On ES 0.16.0 I get
{
"error" : "SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[_na_][testindex][0]: No active shards}{[_na_][testindex][1]: No active shards}{[_na_][testindex][2]: No active shards}{[_na_][testindex][3]: No active shards}{[_na_][testindex][4]: No active shards}]",
"status" : 500
}
instead.
The text was updated successfully, but these errors were encountered:
It fails because the facet is not formatted correctly, I will push a better failure message in this case. Here is how it should look like (note the terms type):
I stuffed up while writing a simple faceted query for the top three terms and got an NPE from Elasticsearch rather than the expected "invalid query" error.
Stack Trace
Test case
This is on Elasticsearch 0.17.0. On ES 0.16.0 I get
The text was updated successfully, but these errors were encountered: