Advertisement
Guest User

Es Mapping

a guest
Dec 3rd, 2015
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 8.64 KB | None | 0 0
  1. {
  2.     "properties":{
  3.        "accreditations":{
  4.           "properties":{
  5.              "accreditation_country":{
  6.                 "type":"string"
  7.              },
  8.              "accreditation_id":{
  9.                 "type":"integer"
  10.              },
  11.              "accreditation_logo_uri":{
  12.                 "type":"string"
  13.              },
  14.              "accreditation_name":{
  15.                 "type":"string"
  16.              },
  17.              "accreditation_status":{
  18.                 "type":"string",
  19.                 "index":"not_analyzed"
  20.              },
  21.              "country_name":{
  22.                 "type":"string"
  23.              },
  24.              "hospital_accreditation_id":{
  25.                 "type":"integer"
  26.              },
  27.              "hospital_id":{
  28.                 "type":"integer"
  29.              },
  30.              "status":{
  31.                 "type":"string",
  32.                 "index":"not_analyzed"
  33.              }
  34.           }
  35.        },
  36.        "doctors":{
  37.           "properties":{
  38.              "created_date":{
  39.                 "type":"string"
  40.              },
  41.              "doctor_designation":{
  42.                 "type":"string"
  43.              },
  44.              "doctor_gender":{
  45.                 "type":"string"
  46.              },
  47.              "doctor_hospital_id":{
  48.                 "type":"integer"
  49.              },
  50.              "doctor_id":{
  51.                 "type":"integer"
  52.              },
  53.              "doctor_speciality":{
  54.                 "type":"integer"
  55.              },
  56.              "doctor_status":{
  57.                 "type":"string",
  58.                 "index":"not_analyzed"
  59.              },
  60.              "first_name":{
  61.                 "type":"string"
  62.              },
  63.              "hospital_id":{
  64.                 "type":"integer"
  65.              },
  66.              "last_name":{
  67.                 "type":"string"
  68.              },
  69.              "status":{
  70.                 "type":"string",
  71.                 "index":"not_analyzed"
  72.              }
  73.           }
  74.        },
  75.        "facilities":{
  76.           "properties":{
  77.              "facilities_hospital_id":{
  78.                 "type":"integer"
  79.              },
  80.              "facilities_id":{
  81.                 "type":"integer"
  82.              },
  83.              "facilities_name":{
  84.                 "type":"string"
  85.              },
  86.              "facilities_slug":{
  87.                 "type":"string",
  88.                 "index":"not_analyzed"
  89.              },
  90.              "facilities_status":{
  91.                 "type":"string",
  92.                 "index":"not_analyzed"
  93.              },
  94.              "hospital_id":{
  95.                 "type":"integer"
  96.              },
  97.              "status":{
  98.                 "type":"string",
  99.                 "index":"not_analyzed"
  100.              }
  101.           }
  102.        },
  103.        "hospital_address1":{
  104.           "type":"string"
  105.        },
  106.        "hospital_address2":{
  107.           "type":"string"
  108.        },
  109.        "hospital_description":{
  110.           "type":"string"
  111.        },
  112.        "hospital_geolocation":{
  113.           "type":"string"
  114.        },
  115.        "hospital_id":{
  116.           "type":"integer"
  117.        },
  118.        "hospital_name":{
  119.           "type":"string"
  120.        },
  121.        "hospital_show_treatment_price":{
  122.           "type":"integer"
  123.        },
  124.        "hospital_slug":{
  125.           "type":"string",
  126.           "index":"not_analyzed"
  127.        },
  128.        "hospital_status":{
  129.          "type":"string",
  130.          "index":"not_analyzed"
  131.        },
  132.        "hospital_images": {
  133.          "properties": {
  134.             "default": {
  135.                "type": "string"
  136.             },
  137.             "logo": {
  138.                "type": "string"
  139.             },
  140.             "thumbnail": {
  141.                "type": "string"
  142.             },
  143.             "search": {
  144.                "type": "string"
  145.             },
  146.             "slider": {
  147.                 "type": "object",
  148.                 "enabled" : false
  149.             }
  150.          }
  151.        },
  152.        "location":{
  153.           "properties":{
  154.              "country":{
  155.                 "type":"string",
  156.                 "index":"not_analyzed"
  157.              },
  158.              "latitude":{
  159.                 "type":"string"
  160.              },
  161.              "location_id":{
  162.                 "type":"integer"
  163.              },
  164.              "location_name":{
  165.                 "type":"string",
  166.                 "index":"not_analyzed"
  167.              },
  168.              "location_status":{
  169.                 "type":"string",
  170.                 "index":"not_analyzed"
  171.              },
  172.              "longitude":{
  173.                 "type":"string"
  174.              }
  175.           }
  176.        },
  177.        "meta": {
  178.                   "properties": {
  179.                      "coordinator": {
  180.                         "type": "string"
  181.                      },
  182.                      "hospital_awards": {
  183.                         "type": "string"
  184.                      },
  185.                      "hospital_country_code": {
  186.                         "type": "string"
  187.                      },
  188.                      "hospital_date_founded": {
  189.                         "type": "string"
  190.                      },
  191.                      "hospital_id": {
  192.                         "type": "integer"
  193.                      },
  194.                      "hospital_language_known": {
  195.                         "type": "string"
  196.                      },
  197.                      "hospital_number_of_beds": {
  198.                         "type": "string"
  199.                      },
  200.                      "hospital_number_of_doctor": {
  201.                         "type": "string"
  202.                      },
  203.                      "hospital_number_of_patient_base": {
  204.                         "type": "string"
  205.                      },
  206.                      "hospital_number_of_surgeries": {
  207.                         "type": "string"
  208.                      },
  209.                      "hospital_pincode": {
  210.                         "type": "string"
  211.                      },
  212.                      "hospital_representative_country_code": {
  213.                         "type": "string"
  214.                      },
  215.                      "hospital_representative_designation": {
  216.                         "type": "string"
  217.                      },
  218.                      "hospital_representative_email": {
  219.                         "type": "string"
  220.                      },
  221.                      "hospital_representative_first_name": {
  222.                         "type": "string"
  223.                      },
  224.                      "hospital_representative_last_name": {
  225.                         "type": "string"
  226.                      },
  227.                      "hospital_representative_telephone": {
  228.                         "type": "string"
  229.                      },
  230.                      "hospital_telephone_number": {
  231.                         "type": "string"
  232.                      },
  233.                      "hospital_website_url": {
  234.                         "type": "string"
  235.                      }
  236.                   }
  237.                },
  238.        "review_rating": {
  239.          "type": "double"
  240.        },
  241.        "reviews_count": {
  242.          "type": "long"
  243.        },
  244.       "hospital_procedure_count":{
  245.         "type" : "long"
  246.       },
  247.        "treatments":{
  248.          "type":"nested",
  249.           "properties":{
  250.              "child_of":{
  251.                 "type":"integer"
  252.              },
  253.              "hospital_id":{
  254.                 "type":"integer"
  255.              },
  256.              "id":{
  257.                 "type":"integer"
  258.              },
  259.              "keywords":{
  260.                 "type":"string"
  261.              },
  262.              "procedure_count": {
  263.                "type": "long"
  264.              },
  265.              "status":{
  266.                 "type":"string",
  267.                 "index":"not_analyzed"
  268.              },
  269.              "treatment_id":{
  270.                 "type":"integer"
  271.              },
  272.              "treatment_name":{
  273.                 "type":"string"
  274.              },
  275.              "treatment_price":{
  276.                 "type":"long"
  277.              },
  278.              "treatment_slug":{
  279.                 "type":"string",
  280.                 "index":"not_analyzed"
  281.              },
  282.              "treatment_status":{
  283.                 "type":"string",
  284.                 "index":"not_analyzed"
  285.              },
  286.              "low_priority": {
  287.                "type": "long"
  288.              },
  289.              "lowest_price": {
  290.                "type": "long"
  291.              },
  292.              "highest_price": {
  293.                "type": "long"
  294.              },
  295.              "lp_low_priority": {  
  296.                "type": "long"
  297.              },
  298.              "hp_low_priority": {  
  299.                "type": "long"
  300.              },
  301.              "show_treatment_price":{
  302.                "type":"string",
  303.                "index":"not_analyzed"
  304.              }
  305.           }
  306.        }
  307.     }
  308.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement