Hello all,
ES maintains one copy of each json for a given index/type. I ran the
following search query:
http://<es_server>/logs/builds/_search?pretty=true&q=mozilla-central-linux-debug-1292432368-mochitest-other.gz
and it returned the following jsons:
{
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 2,
"max_score" : 1.5457389,
"hits" : [ {
"_index" : "logs",
"_type" : "builds",
"_id" : "qiZEn2fMQBSKHAbA2UDa7A",
"_score" : 1.5457389, "_source" : { "builds" : {"machine":
"talos-r3-fed-049", "buildtype": "debug", "testrun_count": 4,
"buildid": "20101215085928", "builder":
"mozilla-central_fedora-debug_test-mochitest-other", "filename":
"mozilla-central-linux-debug-1292432368-mochitest-other.gz", "repo":
"mozilla-central", "platform": "linux", "buildurl":
"http://stage.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux-debug/1292432368/firefox-4.0b9pre.en-US.linux-i686.tar.bz2",
"starttime": "1292436935", "revision": "d0234003e042"} }
}, {
"_index" : "logs",
"_type" : "builds",
"_id" : "gNBDktUJTieNNPvO2Jn_qg",
"_score" : 1.4803665, "_source" : { "builds" : {"machine":
"talos-r3-fed-049", "buildtype": "debug", "testrun_count": 4,
"buildid": "20101215085928", "builder":
"mozilla-central_fedora-debug_test-mochitest-other", "filename":
"mozilla-central-linux-debug-1292432368-mochitest-other.gz", "repo":
"mozilla-central", "platform": "linux", "buildurl":
"http://stage.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux-debug/1292432368/firefox-4.0b9pre.en-US.linux-i686.tar.bz2",
"starttime": "1292436935", "revision": "d0234003e042"} }
} ]
}
}
both the jsons look same (to me atleast).... any idea why this might
be happening?
-anurag