You can use the knapsack plugin
https://github.com/jprante/elasticsearch-knapsack to create another index
out of the results of a query.

Example:

curl -XPOST 
'http://localhost:9200/fromindex/_export/copy?map=\{"fromindex":"toindex"\}'
-d '
{
    "query" : {
        ...
    }
}
'

Jörg

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGrYMGwqHKTJ1dNh0dWWJpqSvi35r9xoWMQvFec8RvRPA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to