Elasticsearch 1.2.1 ::Transport::Transport::Errors::BadRequest – [400]

This error occurred because index was corrupted or missing

Solution either re-index your documents or copy index from your backup.

In Ubuntu elastic-search data directory path is mentioned below:


inside this directory project wise data directories exists. Copy your data directory from here to take backup once in a day or week.

And to fix your index either copy your backup from one system to another.


Use this link StackOverFlow: how to move elasticsearch data from one server to another


I am Senior Software Engineer. I love reading, writing, sharing,developing, hiking, movies, trips, mountains, brooks, hills etc.

Posted in Elasticsearch

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: