Nice bug with DeleteByQuery :)


(sezgin küçükkaraaslan) #1

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


(Clinton Gormley) #2

Hi Sezgin

Please could you open an issue on
http://github.com/elasticsearch/elasticsearch/issues and gist a complete
recreation of this bug - it will make it easier to recreate (and thus to
fix)

(see http://www.elasticsearch.org/help 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


(sezgin küçükkaraaslan) #3

Created https://github.com/elasticsearch/elasticsearch/issues/770

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

Hi Sezgin

Please could you open an issue on
http://github.com/elasticsearch/elasticsearch/issues and gist a complete
recreation of this bug - it will make it easier to recreate (and thus to
fix)

(see http://www.elasticsearch.org/help 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


(system) #4