Advertisement
kanhaiagarwal

Amazon Neptune Index Mapping

May 28th, 2022
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.65 KB | None | 0 0
  1. {
  2.   "amazon_neptune": {
  3.     "aliases": {
  4.      
  5.     },
  6.     "mappings": {
  7.       "dynamic_templates": [
  8.         {
  9.           "datatype": {
  10.             "path_match": "predicates.*.datatype",
  11.             "mapping": {
  12.               "index": "true",
  13.               "type": "keyword"
  14.             }
  15.           }
  16.         },
  17.         {
  18.           "graph": {
  19.             "path_match": "predicates.*.graph",
  20.             "mapping": {
  21.               "index": "true",
  22.               "type": "keyword"
  23.             }
  24.           }
  25.         },
  26.         {
  27.           "language": {
  28.             "path_match": "predicates.*.language",
  29.             "mapping": {
  30.               "index": "true",
  31.               "type": "keyword"
  32.             }
  33.           }
  34.         },
  35.         {
  36.           "value": {
  37.             "path_match": "predicates.*.value",
  38.             "mapping": {
  39.               "fields": {
  40.                 "keyword": {
  41.                   "ignore_above": 1000,
  42.                   "type": "keyword"
  43.                 }
  44.               },
  45.               "type": "text"
  46.             }
  47.           }
  48.         }
  49.       ],
  50.       "properties": {
  51.         "document_type": {
  52.           "type": "text",
  53.           "fields": {
  54.             "keyword": {
  55.               "type": "keyword",
  56.               "ignore_above": 256
  57.             }
  58.           }
  59.         },
  60.         "entity_id": {
  61.           "type": "text",
  62.           "fields": {
  63.             "keyword": {
  64.               "type": "keyword",
  65.               "ignore_above": 256
  66.             }
  67.           }
  68.         },
  69.         "entity_type": {
  70.           "type": "text",
  71.           "fields": {
  72.             "keyword": {
  73.               "type": "keyword",
  74.               "ignore_above": 256
  75.             }
  76.           }
  77.         },
  78.         "predicates": {
  79.           "properties": {
  80.             "content": {
  81.               "properties": {
  82.                 "value": {
  83.                   "type": "text",
  84.                   "fields": {
  85.                     "keyword": {
  86.                       "type": "keyword",
  87.                       "ignore_above": 1000
  88.                     }
  89.                   }
  90.                 }
  91.               }
  92.             },
  93.             "firstName": {
  94.               "properties": {
  95.                 "value": {
  96.                   "type": "text",
  97.                   "fields": {
  98.                     "keyword": {
  99.                       "type": "keyword",
  100.                       "ignore_above": 1000
  101.                     }
  102.                   }
  103.                 }
  104.               }
  105.             },
  106.             "lastName": {
  107.               "properties": {
  108.                 "value": {
  109.                   "type": "text",
  110.                   "fields": {
  111.                     "keyword": {
  112.                       "type": "keyword",
  113.                       "ignore_above": 1000
  114.                     }
  115.                   }
  116.                 }
  117.               }
  118.             },
  119.             "name": {
  120.               "properties": {
  121.                 "value": {
  122.                   "type": "text",
  123.                   "fields": {
  124.                     "keyword": {
  125.                       "type": "keyword",
  126.                       "ignore_above": 1000
  127.                     }
  128.                   }
  129.                 }
  130.               }
  131.             },
  132.             "status": {
  133.               "properties": {
  134.                 "value": {
  135.                   "type": "text",
  136.                   "fields": {
  137.                     "keyword": {
  138.                       "type": "keyword",
  139.                       "ignore_above": 1000
  140.                     }
  141.                   }
  142.                 }
  143.               }
  144.             },
  145.             "type": {
  146.               "properties": {
  147.                 "value": {
  148.                   "type": "text",
  149.                   "fields": {
  150.                     "keyword": {
  151.                       "type": "keyword",
  152.                       "ignore_above": 1000
  153.                     }
  154.                   }
  155.                 }
  156.               }
  157.             },
  158.             "visibilityType": {
  159.               "properties": {
  160.                 "value": {
  161.                   "type": "text",
  162.                   "fields": {
  163.                     "keyword": {
  164.                       "type": "keyword",
  165.                       "ignore_above": 1000
  166.                     }
  167.                   }
  168.                 }
  169.               }
  170.             }
  171.           }
  172.         }
  173.       }
  174.     },
  175.     "settings": {
  176.       "index": {
  177.         "creation_date": "1653798913539",
  178.         "number_of_shards": "1",
  179.         "number_of_replicas": "1",
  180.         "uuid": "d4XYVDW8QGuYoXtFntgPpg",
  181.         "version": {
  182.           "created": "7010199"
  183.         },
  184.         "provided_name": "amazon_neptune"
  185.       }
  186.     }
  187.   }
  188. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement