Nice bug with DeleteByQuery :)

Hi,
I have two indices let's say "index1" and "index2" and types "type1",
"type2" accordingly. "index1" has alias "index1_alias"

when I run deletebyquery on these indices like below I got the following
results:

http://host:port/index1_alias/_query?q=: OK

http://host:port/index1_alias/type1/_query?q=: OK

http://host:port/index1_alias,index2/_query?q=: OK

http://host:port/index1_alias,index2/type1,type2/_query?q=:
Does not delete entries with type "type1"

Regards,
Sezgin Kucukkaraaslan
www.ifountain.com

Hi Sezgin

Please could you open an issue on
Issues · elastic/elasticsearch · GitHub and gist a complete
recreation of this bug - it will make it easier to recreate (and thus to
fix)

(see Elasticsearch Platform — Find real-time answers at scale | Elastic for more on creating gists)

thank

clint

On Fri, 2011-03-11 at 15:12 +0200, sezgin küçükkaraaslan wrote:

Hi,
I have two indices let's say "index1" and "index2" and types "type1",
"type2" accordingly. "index1" has alias "index1_alias"

when I run deletebyquery on these indices like below I got the
following results:

http://host:port/index1_alias/_query?q=: OK

http://host:port/index1_alias/type1/_query?q=: OK

http://host:port/index1_alias,index2/_query?q=: OK

http://host:port/index1_alias,index2/type1,type2/_query?q=:
Does not delete entries with type "type1"

Regards,
Sezgin Kucukkaraaslan
www.ifountain.com

Created DeleteByQuery does not delete when multiple indices and types given · Issue #770 · elastic/elasticsearch · GitHub

On Fri, Mar 11, 2011 at 3:39 PM, Clinton Gormley clinton@iannounce.co.ukwrote:

Hi Sezgin

Please could you open an issue on
Issues · elastic/elasticsearch · GitHub and gist a complete
recreation of this bug - it will make it easier to recreate (and thus to
fix)

(see Elasticsearch Platform — Find real-time answers at scale | Elastic for more on creating gists)

thank

clint

On Fri, 2011-03-11 at 15:12 +0200, sezgin küçükkaraaslan wrote:

Hi,
I have two indices let's say "index1" and "index2" and types "type1",
"type2" accordingly. "index1" has alias "index1_alias"

when I run deletebyquery on these indices like below I got the
following results:

http://host:port/index1_alias/_query?q=: OK

http://host:port/index1_alias/type1/_query?q=: OK

http://host:port/index1_alias,index2/_query?q=: OK

http://host:port/index1_alias,index2/type1,type2/_query?q=:
Does not delete entries with type "type1"

Regards,
Sezgin Kucukkaraaslan
www.ifountain.com