# Clarifications in Elastic Search

**URL:** <https://discuss.elastic.co/t/clarifications-in-elastic-search/3727>\
**Category:** Elasticsearch\
**Created:** [January 3, 2011, 2:07pm UTC](https://discuss.elastic.co/t/clarifications-in-elastic-search/3727 "2011-01-03T14:07:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![senthil\_prabhu](https://avatars.discourse-cdn.com/v4/letter/s/9e8a1a/32.png) [@senthil\_prabhu](https://discuss.elastic.co/u/senthil_prabhu)\
**Post date:** [January 3, 2011, 2:07pm UTC](https://discuss.elastic.co/t/clarifications-in-elastic-search/3727/1 "2011-01-03T14:07:02Z")

</div>

Questions:

1 . When scroll, the snap shot is taken for the query table alone or  
for all child tables or corresponding indices.

1. While using scroll, if any error happens will all the documents  
that are modified inside scroll loop can be reverted?

2. Can we add bulk set of documents for a parent query. For example:  
If my query returns some documents from parent table, can i create  
child documents for all parents by passing one single child document?

3. Can i return \_parent field on all child tables.

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [January 5, 2011, 12:53pm UTC](https://discuss.elastic.co/t/clarifications-in-elastic-search/3727/2 "2011-01-05T12:53:43Z")

</div>

First, there aren't really tables in ES ... 😉

On Mon, Jan 3, 2011 at 4:07 PM, senthil prabhu [senthilsebi@gmail.com](mailto:senthilsebi@gmail.com)wrote:

> Questions:
> 
> 1 . When scroll, the snap shot is taken for the query table alone or  
> for all child tables or corresponding indices.

Its for all data in that relevant indices being searched.

> 1. While using scroll, if any error happens will all the documents  
> that are modified inside scroll loop can be reverted?

No. Doing any other other operations beside scrolling is not relevant.

> 1. Can we add bulk set of documents for a parent query. For example:  
> If my query returns some documents from parent table, can i create  
> child documents for all parents by passing one single child document?

You can use the bulk API for that, you will need to repeat the child  
document for each parent.

> 1. Can i return \_parent field on all child tables.

You can set it to be stored in the mapping, and then ask for it in the  
fields when searching.

---

<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, 4:14am UTC](https://discuss.elastic.co/t/clarifications-in-elastic-search/3727/3 "2017-07-06T04:14:16Z")

</div>

Closed on July 6, 2017, 4:14am UTC


