1 . When scroll, the snap shot is taken for the query table alone or
for all child tables or corresponding indices.
While using scroll, if any error happens will all the documents
that are modified inside scroll loop can be reverted?
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?
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.
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.
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.
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.