Exists query returns the same record more than once


(byuva) #1

The results of the following query (when iterated) seems to return the identical record multiple times.

'{"query": {"filtered": {"filter": {"exists": {"field": "APPNAME"}}, "query": {"match_all": {}}}}, "size": 100, "from": 0}

I am fairly confident the "_id" is not actually in the index more than once (ie I do not play with op_type when indexing).

I am using 0.15.0 and I believe the field APPNAME is analyzed fwiw.

-brian


(Clinton Gormley) #2

On Tue, 2011-02-22 at 19:34 -0800, byuva wrote:

The results of the following query (when iterated) seems to return the
identical record multiple times.

'{"query": {"filtered": {"filter": {"exists": {"field": "APPNAME"}},
"query": {"match_all": {}}}}, "size": 100, "from": 0}

I am fairly confident the "_id" is not actually in the index more than once
(ie I do not play with op_type when indexing).

I am using 0.15.0 and I believe the field APPNAME is analyzed fwiw.

Brian - please gist a recreation of this problem

See http://www.elasticsearch.org/help

thanks

clint


(system) #3