Filter on object non existing subfield

Hi,

we're using elasticsearch 0.90.7 version.

What is behaviour of this version regarding of filter on non existing
object field? It seems it is working fine with dynamic mappings.
For example, field 'person':

person : { first_name: "john", age: 25}

Using prefix filter on person.last_name - field that does not exist for
person works fine:

{"filter" : {"prefix" : {"person.last_name" : "doe" } } }

I know there were some exceptions like 'field not exists' in earlier
versions when running this filter.

Is this fixed on newer ES versions?
Is it safe to filter by object subfield that does not exists (it will be
ignored) ?

Thanks in advance

--
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/9217354a-c4a4-419e-ab7f-3e93d0c24c62%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

You should be fine. I tested on 0.90.7 as well as on 1.0 RC1. When the
field does not exist, the prefix filter will not match the document, and
the query succeeds with no errors.

--
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/76b5b5c5-0139-4a45-8cdd-48a806fe4fa5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.