DeleteByQuery ignores types with TransportClient


(sezgin küçükkaraaslan) #1

Hi,
DeleteByQueryRequest does not serialize "types" in "writeTo" method, which
causes to delete all the entries matching the given query in the specified
index.

Regards,
Sezgin Kucukkaraaslan
www.ifountain.com


(Shay Banon) #2

Good catch!, opened an issue and pushed a fix for it:
https://github.com/elasticsearch/elasticsearch/issues/issue/580.

2010/12/30 sezgin küçükkaraaslan sezo104@gmail.com

Hi,
DeleteByQueryRequest does not serialize "types" in "writeTo" method, which
causes to delete all the entries matching the given query in the specified
index.

Regards,
Sezgin Kucukkaraaslan
www.ifountain.com


(system) #3