Skip to content

Instantly share code, notes, and snippets.

@mrvisser
Last active August 29, 2015 14:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mrvisser/c36ee7a5192a72fce1f2 to your computer and use it in GitHub Desktop.
"resource": {
"_source": {
"enabled": false
},
"properties": {
"id": {
"type": "string",
"store": "yes",
"index": "no"
},
"tenantAlias": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"resourceType": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"resourceSubType": {
"type": "string",
"store": "yes",
"index": "no"
},
"thumbnailUrl": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"displayName": {
"type": "string",
"store": "yes",
"index": "no"
},
"description": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"_extra": {
"type": "string",
"store": "yes",
"index": "no"
},
"visibility": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"joinable": {
"type": "string",
"store": "yes",
"index": "not_analyzed"
},
"q_high": {
"type": "string",
"store": "no",
"index": "analyzed",
"analyzer": "q"
},
"q_low": {
"type": "string",
"store": "no",
"index": "analyzed",
"analyzer": "q"
},
"sort": {
"type": "string",
"store": "no",
"index": "not_analyzed"
}
}
}
}
data: {
"took": 19,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"failed": 0
},
"hits": {
"total": 1,
"max_score": null,
"hits": [
{
"_index": "oaetest",
"_type": "resource",
"_id": "c:localhost:e1OMhi2KT",
"_score": 2.75323,
"fields": {
"resourceSubType": [
"file"
],
"_extra": [
"{\"lastModified\":\"1398976451809\",\"mime\":\"image/png\"}"
],
"visibility": [
"private"
],
"tenantAlias": [
"localhost"
],
"description": [
"Test content description 2"
],
"thumbnailUrl": [
"local:c/localhost/e1/OM/hi/2K/e1OMhi2KT/previews/rev-localhost-ekx_fhinY6/oae-video.png"
],
"displayName": [
"bxBPjTYHsIEs paN04VCd5sLy seuQ4cdReYG5 vwAGsZDXyA2S 5SNnGGt1l3pn"
],
"resourceType": [
"content"
]
},
"sort": [
2.75323,
"bxBPjTYHsIEs paN04VCd5sLy seuQ4cdReYG5 vwAGsZDXyA2S 5SNnGGt1l3pn Test content description 2"
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment