Nested update

Hello guys,

I'm moving my ES mapping to nested objects and form some reason it doesn't
update the nested types when I update the main object.

Give an example.

  1. I have two indexes "index1" and "index2"
  2. The index "index1" has object "A" with a nested type of *"B" *
  3. The object "B" belongs to the index "index2"
  4. When I update object "B" in the "index2" the data on the object
    "A" is not updated on the "index1"

By design I know that Lucene indexes nested objects and root objects in the
same “block”. So, my question is "Nested objects should be in the same
index?" If not what I did wrong?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/6c1d9cf2-861c-4dda-a3c7-bbe95533c348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

Nested documents indeed need to be in the same index. More than that, they
need to be provided as a property of their parent document. Please provide
your mappings and an example of document that you are indexing for further
help.

On Thu, Oct 16, 2014 at 4:06 PM, Diogenes Buarque <
diogenes.buarque@gmail.com> wrote:

Hello guys,

I'm moving my ES mapping to nested objects and form some reason it doesn't
update the nested types when I update the main object.

Give an example.

  1. I have two indexes "index1" and "index2"
  2. The index "index1" has object "A" with a nested type of *"B" *
  3. The object "B" belongs to the index "index2"
  4. When I update object "B" in the "index2" the data on the object
    "A" is not updated on the "index1"

By design I know that Lucene indexes nested objects and root objects in
the same “block”. So, my question is "Nested objects should be in the
same index?" If not what I did wrong?

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6c1d9cf2-861c-4dda-a3c7-bbe95533c348%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/6c1d9cf2-861c-4dda-a3c7-bbe95533c348%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5BApDOoxaJH3uHOPORyqxP1JDVga0FCcCkPF7dWz6RRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hey Adrien,

Thanks for answer,

I think that would be nice have this information in ES documentation
because at least for me it was not so clear.

Anyway thanks again for the fast answer.

Best r

Em quinta-feira, 16 de outubro de 2014 20h59min17s UTC-3, Adrien Grand
escreveu:

Hi,

Nested documents indeed need to be in the same index. More than that, they
need to be provided as a property of their parent document. Please provide
your mappings and an example of document that you are indexing for further
help.

On Thu, Oct 16, 2014 at 4:06 PM, Diogenes Buarque <diogenes...@gmail.com
<javascript:>> wrote:

Hello guys,

I'm moving my ES mapping to nested objects and form some reason it
doesn't update the nested types when I update the main object.

Give an example.

  1. I have two indexes "index1" and "index2"
  2. The index "index1" has object "A" with a nested type of *"B" *
  3. The object "B" belongs to the index "index2"
  4. When I update object "B" in the "index2" the data on the
    object "A" is not updated on the "index1"

By design I know that Lucene indexes nested objects and root objects in
the same “block”. So, my question is "Nested objects should be in the
same index?" If not what I did wrong?

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/6c1d9cf2-861c-4dda-a3c7-bbe95533c348%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/6c1d9cf2-861c-4dda-a3c7-bbe95533c348%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dbab86bb-7fcb-4358-8e7d-99611ef3c7fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.