.prepareSearch("index").setTypes("mytype") does not seem to set types

When I print SearchRequestBuilder to see json the "types" : [ ]
Is this normal ?

Thank you for reporting that. I commented your initial issue here: https://github.com/elastic/elasticsearch/issues/11429#issuecomment-106927850

Not sure if it's by design or a bug.

Got it. Thank you!

Apologies for the duplicate, was following instructions from the first reply :slight_smile: