Question : Field behavior in Nested object


(Jun Ohtani) #1

Hi all,

I am using the nested object.
There is strange behavior of field in nested object.

All sample mapping and data : https://gist.github.com/johtani/9183848

  1. _source store
  2. book.title is not stored
  3. book.contents is stored

If fields parameter specify “book.title” and “book.contents”, I get only “book.title”.
This data is returned from _source.

Why did not return “book.contents”?
Should I use _source instead of store=“true" ?

Regards,
Jun


Jun Ohtani
johtani@gmail.com
blog : http://blog.johtani.info
twitter : http://twitter.com/johtani


(Binh Ly) #2

It does look like a bug. Can you please open a ticket/issue? Thank you.

--
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/3ab3b9de-05ae-4b5b-be36-2993d85ba9fc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Jun Ohtani) #3

Thanks for replying.

I open a ticket.

2014-02-25 8:34 GMT+09:00 Binh Ly binh@hibalo.com:

It does look like a bug. Can you please open a ticket/issue? Thank you.

--
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/3ab3b9de-05ae-4b5b-be36-2993d85ba9fc%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.

--

Jun Ohtani
blog : http://blog.johtani.info

--
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/CAPW8A5yd-SqitmZt-O8%3DOE2QnbgE-TJXGZ0ZZe%2BGk%2BthSdqdPg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4