When you do prepareSearch, I noticed you pass 2 parameters: getIndexNameV2 
and getIndexTypeV2. If your intention is to search a type within an index, 
you probably want:

.prepareSearch(getIndexNameV2()).setTypes(getIndexTypeV2()).blahblah

-- 
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/0d08f3e4-1818-42e4-b33d-4344d18dfc6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to