Skip to content

Instantly share code, notes, and snippets.

@dyangrev
Created September 11, 2014 21:10
Show Gist options
  • Select an option

  • Save dyangrev/099d152babf2af31d9c9 to your computer and use it in GitHub Desktop.

Select an option

Save dyangrev/099d152babf2af31d9c9 to your computer and use it in GitHub Desktop.
{
"took": 6,
"timed_out": false,
"_shards": {
"total": 20,
"successful": 20,
"failed": 0
},
"hits": {
"total": 1,
"max_score": 6.697093,
"hits": [
{
"_index": "grm",
"_type": "guest_property",
"_id": "4beb38bb055a079db06bb619e92cf956",
"_score": 6.697093,
"_source": {
"id": "4beb38bb055a079db06bb619e92cf956",
"city": {
"value": null
},
"firstName": {
"value": "vinay"
},
"lastName": {
"value": "kumar"
},
"state": {
"value": null
},
"country": {
"value": null
},
"title": {
"value": null
},
"emails": [
{
"value": "[email protected]"
}
],
"phones": [
{
"value": "+19196013004"
}
],
"primaryEmail": {
"value": "[email protected]"
},
"primaryPhone": {
"value": null
},
"notes": [
{
"value": "This is a test note",
"authorId": 1,
"createdAt": "2014-08-26T23:00:08+00:00"
},
{
"value": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
"authorId": 1,
"createdAt": "2014-09-05T17:40:45+00:00"
}
],
"interests": [
{
"value": "test"
},
{
"value": "Business Intelligence",
"isFromSocialData": true
},
{
"value": "Big Data",
"isFromSocialData": true
},
{
"value": "SQL",
"isFromSocialData": true
},
{
"value": "Software",
"isFromSocialData": true
},
{
"value": "Astrophysics",
"isFromSocialData": true
},
{
"value": "User Groups",
"isFromSocialData": true
},
{
"value": "NoSQL",
"isFromSocialData": true
},
{
"value": "Data Warehousing",
"isFromSocialData": true
},
{
"value": "Android OS",
"isFromSocialData": true
},
{
"value": "Analytics",
"isFromSocialData": true
}
],
"badges": [
{
"value": "test"
}
],
"facebookAccount": {
"value": "https://www.facebook.com/dan.linstedt",
"isFromSocialData": true
},
"twitterAccount": {
"value": "https://twitter.com/rapidace",
"isFromSocialData": true
},
"linkedinAccount": {
"value": "http://linkedin.com/profile/view?id=30415123"
},
"tripadvisorAccount": {
"value": null
},
"yelpAccount": {
"value": null
},
"propertyId": 360,
"totalStays": {
"value": 1
},
"totalValidStays": {
"value": 1
},
"totalCanceledStays": {
"value": 0
},
"totalRoomRate": {
"value": 0
},
"totalNumberOfNights": {
"value": 1
},
"pushIds": [],
"subscriptionSettings": [],
"guestPhoto": {
"value": null
},
"guestStayPreferences": [
{
"value": "Water Bed",
"questionId": 72
},
{
"value": "vegan, sea food, vegetarian, non non vegetarian",
"questionId": 128
}
],
"normalizedFirstName": {
"value": "vinay"
},
"normalizedLastName": {
"value": "kumar"
},
"fullName": {
"value": "vinay kumar"
}
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment