So I want to be sure, If I use this structure and reindex a Nested object, does it reindex the root index? Does it reindex the other nested object in the root index?
But let's say that in my Index "Personne" which got numerous field in which there is "name",
I have PUT two entity, Peter (_id : 1) and Alice (_id : 2).
There is also a nested object in Personne to keep their different mail adresses.
I have posted alice1@mail.com and to the _id2 and peter1@mail.com to the _id1.
Now let's say that I change the adress of alice so that she got a second adress as well.
What would be reindexed? Every field concerning Alice (her name, both of her mails)?
Everything inside Personne (including everything concerning Peter) ?
The entire document will be reindexed, the root as well as all nested documents. If I have a root document with a list of 5 nested documents and add another one, all 7 documents will be (re)indexed.
Thanks for your answers and sorry to bother you @Christian_Dahlqvist but I may haven't make myself comprehensible.
I don't mean that the root will be re-indexed as the mapping/schema will be changed.
I mean that if I add a nested object as in I add data (this person will have another mail adress). Will the index of the data of the person be reindexed/updated?
I want to add nested object causing as less operation as possible.
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.