Is there anywhere in the API that a field being missing is not equivalent
to an empty list?
As an example, is it generally true that
{ "some_object" : []
, "title" : "title" }
is equivalent to
{ "title" : "title" }
as far as elastic search is concerned?
--
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/dec382ee-14f3-4fad-89a3-4238e60e77c0%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
jpountz
(Adrien Grand)
October 9, 2014, 10:16pm
2
Hi Liam,
Both documents would indeed be indexed the same way (except the _source
field).
On Thu, Oct 9, 2014 at 10:48 PM, Liam Atkinson liamatkinson@gmail.com
wrote:
Is there anywhere in the API that a field being missing is not equivalent
to an empty list?
As an example, is it generally true that
{ "some_object" :
, "title" : "title" }
is equivalent to
{ "title" : "title" }
as far as Elasticsearch is concerned?
--
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/dec382ee-14f3-4fad-89a3-4238e60e77c0%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/dec382ee-14f3-4fad-89a3-4238e60e77c0%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/CAL6Z4j51VcdFJNES8TumT5CVYbFviJJAPzO%2Ba_GH8tr-Gt200Q%40mail.gmail.com .
For more options, visit https://groups.google.com/d/optout .