HI to everybody,
This morning i have upgraded to the new elasticsearch 5, and I have found some troubles to import wikipedia dump in ES. I have followed the procedure described in this thread http://stackoverflow.com/questions/33630222/indexing-wikipedia-dump-to-elasticsearch-gets-xml-document-structures-must-start , that i have used succesfully with ES 2.x . But now the process ends before to finish the indexing. Then I can't make any kind of search in sense, all queries return me this output:
Request failed to get to the server (status code: 0):
If I try to restart the ES daemon, I can't make any query to my index but the output changes:
{ "error": { "root_cause": [], "type": "search_phase_execution_exception", "reason": "all shards failed", "phase": "query", "grouped": true, "failed_shards": [], "caused_by": { "type": "illegal_index_shard_state_exception", "reason": "CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED, RELOCATED]", "index_uuid": "8z18WSAtQkW1ONMjHCWEmg", "shard": "4", "index": "wikiparse" } }, "status": 503 }
All of this happens after a clean installation. What can I do to fix that?
Thanks in advance