The documentation at 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-dynamic-mapping.html#_unmapped_fields_in_queries
 
says that the following setting
index.query.parse.allow_unmapped_fields
, when set to true, will allow a query not to fail if a field referenced in 
the search query is not mapped.

It doesn't work on nested types though (and I confirmed that by browsing 
the source code).
For a path like grandParent.parent.child, if only grandParent is mapped, 
then the query/filter will fail if the search query/filter references the 
'child' field.

Just wondering is this is the intended behavior.

alex

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/27b1dd3f-d6c5-4749-805e-3fe44ef88189%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to