Skip to content

Instantly share code, notes, and snippets.

@cheehoo
Created April 11, 2014 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheehoo/10439849 to your computer and use it in GitHub Desktop.
Save cheehoo/10439849 to your computer and use it in GitHub Desktop.
{
"took": 28,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 244,
"max_score": 2.7100196,
"hits": [
{
"_shard": 1,
"_node": "kr37FCksStOKW5ZCo6PCwQ",
"_index": "jdbc_dev",
"_type": "media",
"_id": "279157",
"_score": 2.7100196,
"_source": {
"DISPLAY_NAME": "Happier?",
"PRICE": 4,
"AUDIO": "http://musicube.thecube.my/base/preview/088/889023/889023-MP3-TT-P.mp3",
"CHANNEL_ID": 1,
"CAT_PARENT": 436,
"MEDIA_ID": 279157,
"GENRE": "Happier?",
"MEDIA_PKEY": "889023",
"COMPOSER": null,
"PLAYER": null,
"CATMEDIA_NAME": "Happier?",
"FTID": null,
"VIEW_ID": 122,
"POSITION": 11669,
"ITEMCODE": null,
"CAT_ID": 439,
"PRIORITY": 90,
"CKEY": 808415,
"CATMEDIA_RANK": 3,
"BILLINGTYPE_ID": 1,
"CAT_NAME": "POP",
"KEYWORDS": null,
"LONG_DESCRIPTION": null,
"SHORT_DESCRIPTION": null,
"TYPE_ID": 1,
"ARTIST_GENDER": null,
"PERFORMER": "Teddy Geiger",
"MAPPINGS": "1_122_439_POP_436_11669_4",
"SHORTCODE": null,
"CATMEDIA_CDATE": "2013-07-29T10:56:23.000Z",
"LANG_ID": 1
},
"_explanation": {
"value": 2.7100196,
"description": "product of:",
"details": [
{
"value": 5.420039,
"description": "sum of:",
"details": [
{
"value": 5.420039,
"description": "sum of:",
"details": [
{
"value": 5.420039,
"description": "weight(DISPLAY_NAME:happier^3.0 in 32661) [PerFieldSimilarity], result of:",
"details": [
{
"value": 5.420039,
"description": "score(doc=32661,freq=1.0 = termFreq=1.0\n), product of:",
"details": [
{
"value": 0.34746242,
"description": "queryWeight, product of:",
"details": [
{
"value": 3,
"description": "boost"
},
{
"value": 15.598923,
"description": "idf(docFreq=2, maxDocs=6566786)"
},
{
"value": 0.0074249236,
"description": "queryNorm"
}
]
},
{
"value": 15.598923,
"description": "fieldWeight in 32661, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 15.598923,
"description": "idf(docFreq=2, maxDocs=6566786)"
},
{
"value": 1,
"description": "fieldNorm(doc=32661)"
}
]
}
]
}
]
}
]
}
]
},
{
"value": 0.5,
"description": "coord(1/2)"
}
]
}
},
{
"_shard": 2,
"_node": "UOjX2lxhR6mzfjHHmTm3cQ",
"_index": "jdbc_dev",
"_type": "media",
"_id": "195398",
"_score": 2.6179192,
"_source": {
"DISPLAY_NAME": "Hap's Boogie Woogie",
"PRICE": 5,
"AUDIO": null,
"CHANNEL_ID": 1,
"CAT_PARENT": 981,
"MEDIA_ID": 195398,
"GENRE": "Hap's Boogie Woogie",
"MEDIA_PKEY": "750136",
"COMPOSER": null,
"PLAYER": null,
"CATMEDIA_NAME": "Hap's Boogie Woogie",
"FTID": null,
"VIEW_ID": 43,
"POSITION": 4095,
"ITEMCODE": null,
"CAT_ID": 990,
"PRIORITY": 80,
"CKEY": 784510,
"CATMEDIA_RANK": 3,
"BILLINGTYPE_ID": 1,
"CAT_NAME": "Jazz/Country",
"KEYWORDS": null,
"LONG_DESCRIPTION": null,
"SHORT_DESCRIPTION": null,
"TYPE_ID": 74,
"ARTIST_GENDER": null,
"PERFORMER": "Lionel Hapton Quintet",
"MAPPINGS": "1_43_990_Jazz/Country_981_4095_5",
"SHORTCODE": null,
"CATMEDIA_CDATE": "2013-01-30T06:27:08.000Z",
"LANG_ID": 1
},
"_explanation": {
"value": 2.6179192,
"description": "sum of:",
"details": [
{
"value": 2.6104956,
"description": "sum of:",
"details": [
{
"value": 2.6104956,
"description": "weight(DISPLAY_NAME:hap's^3.0 in 4455) [PerFieldSimilarity], result of:",
"details": [
{
"value": 2.6104956,
"description": "score(doc=4455,freq=1.0 = termFreq=1.0\n), product of:",
"details": [
{
"value": 0.34099072,
"description": "queryWeight, product of:",
"details": [
{
"value": 3,
"description": "boost"
},
{
"value": 15.311241,
"description": "idf(docFreq=3, maxDocs=6566786)"
},
{
"value": 0.007423538,
"description": "queryNorm"
}
]
},
{
"value": 7.6556206,
"description": "fieldWeight in 4455, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 15.311241,
"description": "idf(docFreq=3, maxDocs=6566786)"
},
{
"value": 0.5,
"description": "fieldNorm(doc=4455)"
}
]
}
]
}
]
}
]
},
{
"value": 0.007423538,
"description": "ConstantScore(PERFORMER:happy PERFORMER:hapton), product of:",
"details": [
{
"value": 1,
"description": "boost"
},
{
"value": 0.007423538,
"description": "queryNorm"
}
]
}
]
}
},
{
"_shard": 1,
"_node": "kr37FCksStOKW5ZCo6PCwQ",
"_index": "jdbc_dev",
"_type": "media",
"_id": "185108",
"_score": 2.5354335,
"_source": {
"DISPLAY_NAME": "Happenings",
"PRICE": 5,
"AUDIO": "http://musicube.thecube.my/base/preview/055/555141/555141-MP3-FTD-P.mp3",
"CHANNEL_ID": 1,
"CAT_PARENT": 981,
"MEDIA_ID": 185108,
"GENRE": "Happenings",
"MEDIA_PKEY": "555141",
"COMPOSER": null,
"PLAYER": null,
"CATMEDIA_NAME": "Happenings",
"FTID": null,
"VIEW_ID": 43,
"POSITION": 3104,
"ITEMCODE": null,
"CAT_ID": 990,
"PRIORITY": 80,
"CKEY": 547857,
"CATMEDIA_RANK": 3,
"BILLINGTYPE_ID": 1,
"CAT_NAME": "Jazz/Country",
"KEYWORDS": null,
"LONG_DESCRIPTION": null,
"SHORT_DESCRIPTION": null,
"TYPE_ID": 74,
"ARTIST_GENDER": null,
"PERFORMER": "Hank Jones",
"MAPPINGS": "1_43_990_Jazz/Country_981_3104_5",
"SHORTCODE": null,
"CATMEDIA_CDATE": "2013-01-09T14:57:17.000Z",
"LANG_ID": 1
},
"_explanation": {
"value": 2.5354335,
"description": "product of:",
"details": [
{
"value": 5.070867,
"description": "sum of:",
"details": [
{
"value": 5.070867,
"description": "sum of:",
"details": [
{
"value": 5.070867,
"description": "weight(DISPLAY_NAME:happenings^3.0 in 23093) [PerFieldSimilarity], result of:",
"details": [
{
"value": 5.070867,
"description": "score(doc=23093,freq=1.0 = termFreq=1.0\n), product of:",
"details": [
{
"value": 0.33608392,
"description": "queryWeight, product of:",
"details": [
{
"value": 3,
"description": "boost"
},
{
"value": 15.088098,
"description": "idf(docFreq=4, maxDocs=6566786)"
},
{
"value": 0.0074249236,
"description": "queryNorm"
}
]
},
{
"value": 15.088098,
"description": "fieldWeight in 23093, product of:",
"details": [
{
"value": 1,
"description": "tf(freq=1.0), with freq of:",
"details": [
{
"value": 1,
"description": "termFreq=1.0"
}
]
},
{
"value": 15.088098,
"description": "idf(docFreq=4, maxDocs=6566786)"
},
{
"value": 1,
"description": "fieldNorm(doc=23093)"
}
]
}
]
}
]
}
]
}
]
},
{
"value": 0.5,
"description": "coord(1/2)"
}
]
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment