# Store ES query output

**URL:** <https://discuss.elastic.co/t/store-es-query-output/15288>\
**Category:** Elasticsearch\
**Created:** [January 17, 2014, 6:18am UTC](https://discuss.elastic.co/t/store-es-query-output/15288 "2014-01-17T06:18:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhiage](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@abhiage](https://discuss.elastic.co/u/abhiage)\
**Post date:** [January 17, 2014, 6:18am UTC](https://discuss.elastic.co/t/store-es-query-output/15288/1 "2014-01-17T06:18:47Z")

</div>

I want to store ES query output back to ES. will it possible?

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 17, 2014, 7:29am UTC](https://discuss.elastic.co/t/store-es-query-output/15288/2 "2014-01-17T07:29:26Z")

</div>

On a client level. Not by elasticsearch on its own.

--  
David 😉  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 janv. 2014 à 07:18, abhi patel [abhiage@gmail.com](mailto:abhiage@gmail.com) a écrit :

> ## I want to store ES query output back to ES. will it possible?
> 
> 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/25796A8C-6872-4034-ABEC-1474542B9EBC%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/25796A8C-6872-4034-ABEC-1474542B9EBC%40pilato.fr).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Xkjy\_Awnu](https://avatars.discourse-cdn.com/v4/letter/x/f1d935/32.png) [@Xkjy\_Awnu](https://discuss.elastic.co/u/Xkjy_Awnu)\
**Post date:** [January 17, 2014, 7:32am UTC](https://discuss.elastic.co/t/store-es-query-output/15288/3 "2014-01-17T07:32:56Z")

</div>

Why not consider using memcached，redis？

2014/1/17 abhi patel [abhiage@gmail.com](mailto:abhiage@gmail.com)

> I want to store ES query output back to ES. will it possible?
> 
> --  
> 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/047e145b-b9ec-4cfa-ae91-826127e887b0%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CALkU6TLDnY1dAXykxd9eu61%3DQqCkc3ad9X0%3DD\_qrZrW0aNDRUg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALkU6TLDnY1dAXykxd9eu61%3DQqCkc3ad9X0%3DD_qrZrW0aNDRUg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [January 17, 2014, 8:07am UTC](https://discuss.elastic.co/t/store-es-query-output/15288/4 "2014-01-17T08:07:23Z")

</div>

You can use the knapsack plugin  
[https://github.com/jprante/elasticsearch-knapsack](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"}](http://localhost:9200/fromindex/_export/copy?map=%7B%22fromindex%22:%22toindex%22%7D)'  
-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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGrYMGwqHKTJ1dNh0dWWJpqSvi35r9xoWMQvFec8RvRPA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGrYMGwqHKTJ1dNh0dWWJpqSvi35r9xoWMQvFec8RvRPA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:56am UTC](https://discuss.elastic.co/t/store-es-query-output/15288/5 "2017-07-06T01:56:13Z")

</div>


