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


(Pavel Baranov) #1

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


(David Pilato) #2

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.


(Pavel Baranov) #3

Got it. Thank you!

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


(system) #4