Let\'s say I have movie data in my ElasticSearch and I created them like this:
curl -XPUT \"http://192.168.0.2:9200/movies/movie/1\" -d\'
{
\"title\": \"
Check out knapsack: https://github.com/jprante/elasticsearch-knapsack
Once you have the plugin installed and working, you could export part of your index via query. For example:
curl -XPOST 'localhost:9200/test/test/_export' -d '{
"query" : {
"match" : {
"myfield" : "myvalue"
}
},
"fields" : [ "_parent", "_source" ]
}'
This will create a tarball with only your query results, which you can then import into another index.