Issue with nested query in Junits

Hi ES team
I have a nested query working fine on the ES cluster. I have the
mappings with type "nested"
But when I try to write Junits with the same query using
EsSetup(com.github.tlrx.elasticsearch.test.EsSetup) and the same mapping
that I used on the ES cluster, I get the below exception.

Caused by: org.elasticsearch.index.query.QueryParsingException: [storeitem]
[nested] failed to find nested object under path [x.y.z] where

z is mapped as a nested type.

The test jar is elasticsearch-test-0.0.8.jar)

Appreciate any help.

Thanks

Sheeba

--
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.
For more options, visit https://groups.google.com/groups/opt_out.