Skip to content

Instantly share code, notes, and snippets.

@Pcushing
Created February 6, 2015 19:37
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 Pcushing/feed9149045ea617499b to your computer and use it in GitHub Desktop.
Save Pcushing/feed9149045ea617499b to your computer and use it in GitHub Desktop.
{
"organizations_2015_02_06": {
"mappings": {
"issuer": {
"properties": {
"avatar_thumbnail_url": {
"type": "string"
},
"created_at": {
"type": "date",
"format": "dateOptionalTime"
},
"description": {
"type": "string"
},
"id": {
"type": "long"
},
"keywords": {
"type": "string"
},
"lat_lon": {
"type": "object"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "date",
"format": "dateOptionalTime"
},
"url": {
"type": "string"
},
"user_count": {
"type": "long"
},
"visible": {
"type": "boolean"
}
}
},
"military": {
"properties": {
"avatar_thumbnail_url": {
"type": "string"
},
"created_at": {
"type": "date",
"format": "dateOptionalTime"
},
"created_by_id": {
"type": "long"
},
"founded_at": {
"type": "date",
"format": "dateOptionalTime"
},
"id": {
"type": "long"
},
"keywords": {
"type": "string"
},
"lat_lon": {
"properties": {
"lat": {
"type": "double"
},
"lon": {
"type": "double"
}
}
},
"name": {
"type": "string"
},
"parent_id": {
"type": "long"
},
"phone": {
"type": "string"
},
"slug": {
"type": "string"
},
"state": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "date",
"format": "dateOptionalTime"
},
"url": {
"type": "string"
},
"user_count": {
"type": "long"
},
"visible": {
"type": "boolean"
}
}
},
"union": {
"properties": {
"abbreviation": {
"type": "string"
},
"avatar_thumbnail_url": {
"type": "string"
},
"created_at": {
"type": "date",
"format": "dateOptionalTime"
},
"created_by_id": {
"type": "long"
},
"email": {
"type": "string"
},
"id": {
"type": "long"
},
"lat_lon": {
"properties": {
"lat": {
"type": "double"
},
"lon": {
"type": "double"
}
}
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"slug": {
"type": "string"
},
"state": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "date",
"format": "dateOptionalTime"
},
"url": {
"type": "string"
},
"user_count": {
"type": "long"
},
"visible": {
"type": "boolean"
}
}
},
"school": {
"properties": {
"avatar_thumbnail_url": {
"type": "string"
},
"cleaned_at": {
"type": "date",
"format": "dateOptionalTime"
},
"cleaned_by_id": {
"type": "long"
},
"created_at": {
"type": "date",
"format": "dateOptionalTime"
},
"created_by_id": {
"type": "long"
},
"description": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "long"
},
"keywords": {
"type": "string"
},
"lat_lon": {
"properties": {
"lat": {
"type": "double"
},
"lon": {
"type": "double"
}
}
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"slug": {
"type": "string"
},
"state": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "date",
"format": "dateOptionalTime"
},
"url": {
"type": "string"
},
"user_count": {
"type": "long"
},
"visible": {
"type": "boolean"
}
}
},
"company": {
"properties": {
"avatar_thumbnail_url": {
"type": "string"
},
"created_at": {
"type": "date",
"format": "dateOptionalTime"
},
"created_by_id": {
"type": "long"
},
"description": {
"type": "string"
},
"id": {
"type": "long"
},
"keywords": {
"type": "string"
},
"lat_lon": {
"properties": {
"lat": {
"type": "double"
},
"lon": {
"type": "double"
}
}
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"slug": {
"type": "string"
},
"state": {
"type": "string"
},
"type": {
"type": "string"
},
"updated_at": {
"type": "date",
"format": "dateOptionalTime"
},
"url": {
"type": "string"
},
"user_count": {
"type": "long"
},
"visible": {
"type": "boolean"
}
}
},
"organization": {
"properties": {
"avatar_thumbnail_url": {
"type": "string"
},
"id": {
"type": "integer"
},
"keywords": {
"type": "string",
"boost": 50
},
"lat_lon": {
"type": "geo_point"
},
"name": {
"type": "string",
"boost": 50
},
"name_completion": {
"type": "completion",
"analyzer": "simple",
"payloads": true,
"preserve_separators": true,
"preserve_position_increments": true,
"max_input_length": 50
},
"state": {
"type": "string"
},
"type": {
"type": "string"
},
"user_count": {
"type": "integer"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment