Skip to content

Instantly share code, notes, and snippets.

@brizzbane
Created March 28, 2015 20:33
Show Gist options
  • Save brizzbane/276c7a54fe8e82cc516d to your computer and use it in GitHub Desktop.
Save brizzbane/276c7a54fe8e82cc516d to your computer and use it in GitHub Desktop.
elasticsearch not indexing value
{
"socialnetwork:{
"properties":{
"found":{
"type":"boolean"
},
"member":{
"properties":{
"member_id":{
"type":"long"
},
"interested_in":{
"type":"string"
},
"gender":{
"type":"string"
},
"last_name":{
"type":"string"
},
"privacy":{
"properties":{
"can_view":{
"type":"string"
},
"accepts_friend_requests":{
"type":"string"
},
"accepts_messages":{
"type":"string"
},
"accepts_anon_questions":{
"type":"string"
},
"accepts_questions":{
"type":"string"
},
"accepts_gifts":{
"type":"string"
}
}
},
"picture_id":{
"type":"long"
},
"picture":{
"type":"string"
},
"short_url":{
"properties":{
"url":{
"type":"string"
},
"username":{
"type":"string"
}
}
},
"messages":{
"properties":{
"preview":{
"type":"string"
},
"senderId":{
"type":"long"
},
"sticker":{
"properties":{
"packageId":{
"type":"string"
},
"id":{
"type":"string"
}
}
},
"body":{
"type":"string"
},
"receivedAt":{
"type":"double"
},
"type":{
"type":"string"
},
"headerId":{
"type":"string"
},
"isNew":{ ******missing
"type":"boolean"
}
"timestamp":{
"type":"double"
}
}
},
"location":{
"properties":{
"country":{
"type":"string"
},
"city":{
"type":"string"
},
"state_abbr":{
"type":"string"
},
"state":{
"type":"string"
},
"country_abbr":{
"type":"string"
},
"country_id":{
"type":"long"
}
}
},
"is_online":{
"type":"string"
},
"first_name":{
"type":"string"
},
"age":{
"type":"long"
}
}
},
"created_date":{
"format":"dateOptionalTime",
"type":"date"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment