Advertisement
Guest User

fb sample mapping

a guest
Sep 16th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. facebook
  2. {
  3.   "xyz|2014": {
  4.     "properties": {
  5.       "comments": {
  6.         "properties": {
  7.           "data": {
  8.             "properties": {
  9.               "created_time": {
  10.                 "type": "date",
  11.                 "format": "dateOptionalTime"
  12.               }
  13.             }
  14.           }
  15.         }
  16.       },
  17.       "created_time": {
  18.         "type": "date",
  19.         "format": "dateOptionalTime"
  20.       },
  21.       "created_time_epoch": {
  22.         "type": "date"
  23.       },
  24.       "created_time_es": {
  25.         "type": "date",
  26.         "format": "yyyy-MM-dd HH:mm:ss"
  27.       },
  28.       "from": {
  29.         "properties": {
  30.           "category": {
  31.             "type": "string"
  32.           },
  33.           "category_list": {
  34.             "properties": {
  35.               "id": {
  36.                 "type": "string"
  37.               },
  38.               "name": {
  39.                 "type": "string",
  40.          "index": "not_analyzed"
  41.               }
  42.             }
  43.           },
  44.           "id": {
  45.             "type": "string"
  46.           },
  47.           "name": {
  48.             "type": "string"
  49.           },
  50.           "my_geo": {
  51.             "type": "geo_point",
  52.             "fielddata": {
  53.               "format": "compressed",
  54.               "precision": "1cm"
  55.             }
  56.           }
  57.         }
  58.       },
  59.       "id": {
  60.         "type": "string"
  61.       },
  62.       "is_curr_comment": {
  63.         "type": "long"
  64.       },
  65.       "is_curr_likes": {
  66.         "type": "long"
  67.       },
  68.       "is_curr_shares": {
  69.         "type": "long"
  70.       },
  71.       "object_id": {
  72.         "type": "string"
  73.       },
  74.       "place": {
  75.         "properties": {
  76.           "id": {
  77.             "type": "string",
  78.          "index": "not_analyzed"
  79.           },
  80.           "location": {
  81.             "properties": {
  82.               "latitude": {
  83.                 "type": "double"
  84.               },
  85.               "longitude": {
  86.                 "type": "double"
  87.               },
  88.               "my_geo": {
  89.                 "type": "geo_point",
  90.                 "fielddata": {
  91.                   "format": "compressed",
  92.                   "precision": "1cm"
  93.                 }
  94.               }
  95.             }
  96.           }
  97.         }
  98.       },
  99.       "updated_time": {
  100.         "type": "date",
  101.         "format": "dateOptionalTime"
  102.       }
  103.     }
  104.   }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement