# Indexing search results into a seperate index

**URL:** https://discuss.elastic.co/t/indexing-search-results-into-a-seperate-index/20422
**Category:** Elasticsearch
**Created:** [October 24, 2014, 3:05pm UTC](https://discuss.elastic.co/t/indexing-search-results-into-a-seperate-index/20422 "2014-10-24T15:05:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ramdev\_Wudali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramdev_wudali/32/7894_2.png) [@Ramdev\_Wudali](https://discuss.elastic.co/u/Ramdev_Wudali)
#### Post date: [October 24, 2014, 3:05pm UTC](https://discuss.elastic.co/t/indexing-search-results-into-a-seperate-index/20422/1 "2014-10-24T15:05:32Z")

</div>

Hello All:  
I have a situation wherein, I would like to index a search result (from  
a search query1), However I want to index only a subset of the content from  
each document that is returned after some processing of certain fields.  
(index2)  
Is it possible so I can actually do some further querying into the newly  
created index as soon as I am done with the indexing ? In theory, this  
newly created index is transient. So every new query1 will result in a  
new index2.

The idea is that one the fields that is processed from the result of query1  
is converted from a String to a multivalue field in index2. a Second search  
is executed to find documents with a certain % overlap in this multivalue  
field  
Can a query be executed to find a documents in index2 with a % overlap in a  
specific field ?

Thanks

Ramdev

--  
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/026496f5-8067-4acb-acb9-88c5e759ed95%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/026496f5-8067-4acb-acb9-88c5e759ed95%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:53am UTC](https://discuss.elastic.co/t/indexing-search-results-into-a-seperate-index/20422/2 "2017-07-06T00:53:57Z")

</div>


