Something wrong with type float search

Could someone tell me anything wrong with the following query, which should return one result instead of two? Thanks.
I created two records
{
	"lat": 33.7479148,
	"lon": -84.1234567
} 
and
{
	"lat": 33.7479149,
	"lon": -84.1234567
}

I expected  one result but two results were returned. lat and lon both have type float.
    {
    	"from": 0,
    	"size": 200,
    	"query": {
    		"bool": {
    			"must": [ 
    				
    				{
    				"match": {
    					"lat": {
    						"query": 33.7479149
    						
    					}
    				}
    			}, {
    				"match": {
    					"lon": {
    						"query": -84.1234567
    					}
    				}
    			}]
    			
    		}
    	}
    }


{
"took": 1,
"timed_out": false,
"_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
},
"hits": {
    "total": 2,
    "max_score": 2,
    "hits": [
        {
            "_index": "tests",
            "_type": "test",
            "_id": "2",
            "_score": 2,
            "_source": {
                "lat": 33.7479149,
                "lon": -84.1234567
            }
        },
        {
            "_index": "tests",
            "_type": "test",
            "_id": "1",
            "_score": 2,
            "_source": {
                "lat": 33.7479148,
                "lon": -84.1234567
            }
        }
    ]
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.