Advertisement
triggan

Untitled

May 28th, 2022 (edited)
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.75 KB | None
  1. {
  2. "amazon_neptune": {
  3. "aliases": {},
  4. "mappings": {
  5. "dynamic_templates": [
  6. {
  7. "datatype": {
  8. "path_match": "predicates.*.datatype",
  9. "mapping": {
  10. "index": "true",
  11. "type": "keyword"
  12. }
  13. }
  14. },
  15. {
  16. "graph": {
  17. "path_match": "predicates.*.graph",
  18. "mapping": {
  19. "index": "true",
  20. "type": "keyword"
  21. }
  22. }
  23. },
  24. {
  25. "language": {
  26. "path_match": "predicates.*.language",
  27. "mapping": {
  28. "index": "true",
  29. "type": "keyword"
  30. }
  31. }
  32. },
  33. {
  34. "value": {
  35. "path_match": "predicates.*.value",
  36. "mapping": {
  37. "fields": {
  38. "keyword": {
  39. "ignore_above": 256,
  40. "type": "keyword"
  41. }
  42. },
  43. "type": "text"
  44. }
  45. }
  46. }
  47. ],
  48. "properties": {
  49. "document_type": {
  50. "type": "text",
  51. "fields": {
  52. "keyword": {
  53. "type": "keyword",
  54. "ignore_above": 256
  55. }
  56. }
  57. },
  58. "entity_id": {
  59. "type": "text",
  60. "fields": {
  61. "keyword": {
  62. "type": "keyword",
  63. "ignore_above": 256
  64. }
  65. }
  66. },
  67. "entity_type": {
  68. "type": "text",
  69. "fields": {
  70. "keyword": {
  71. "type": "keyword",
  72. "ignore_above": 256
  73. }
  74. }
  75. },
  76. "predicates": {
  77. "properties": {
  78. "averageRating": {
  79. "properties": {
  80. "datatype": {
  81. "type": "keyword"
  82. },
  83. "value": {
  84. "type": "double"
  85. }
  86. }
  87. },
  88. "birthYear": {
  89. "properties": {
  90. "datatype": {
  91. "type": "keyword"
  92. },
  93. "value": {
  94. "type": "long"
  95. }
  96. }
  97. },
  98. "birthday": {
  99. "properties": {
  100. "datatype": {
  101. "type": "keyword"
  102. },
  103. "value": {
  104. "type": "date"
  105. }
  106. }
  107. },
  108. "birthyear": {
  109. "properties": {
  110. "datatype": {
  111. "type": "keyword"
  112. },
  113. "value": {
  114. "type": "long"
  115. }
  116. }
  117. },
  118. "browserUsed": {
  119. "properties": {
  120. "value": {
  121. "type": "text",
  122. "fields": {
  123. "keyword": {
  124. "type": "keyword",
  125. "ignore_above": 256
  126. }
  127. }
  128. }
  129. }
  130. },
  131. "creationDate": {
  132. "properties": {
  133. "datatype": {
  134. "type": "keyword"
  135. },
  136. "value": {
  137. "type": "date"
  138. }
  139. }
  140. },
  141. "deathYear": {
  142. "properties": {
  143. "datatype": {
  144. "type": "keyword"
  145. },
  146. "value": {
  147. "type": "long"
  148. }
  149. }
  150. },
  151. "deathyear": {
  152. "properties": {
  153. "datatype": {
  154. "type": "keyword"
  155. },
  156. "value": {
  157. "type": "long"
  158. }
  159. }
  160. },
  161. "firstName": {
  162. "properties": {
  163. "value": {
  164. "type": "text",
  165. "fields": {
  166. "keyword": {
  167. "type": "keyword",
  168. "ignore_above": 256
  169. }
  170. }
  171. }
  172. }
  173. },
  174. "gender": {
  175. "properties": {
  176. "value": {
  177. "type": "text",
  178. "fields": {
  179. "keyword": {
  180. "type": "keyword",
  181. "ignore_above": 256
  182. }
  183. }
  184. }
  185. }
  186. },
  187. "genre": {
  188. "properties": {
  189. "value": {
  190. "type": "text",
  191. "fields": {
  192. "keyword": {
  193. "type": "keyword",
  194. "ignore_above": 256
  195. }
  196. }
  197. }
  198. }
  199. },
  200. "id": {
  201. "properties": {
  202. "datatype": {
  203. "type": "keyword"
  204. },
  205. "value": {
  206. "type": "long"
  207. }
  208. }
  209. },
  210. "lastName": {
  211. "properties": {
  212. "value": {
  213. "type": "text",
  214. "fields": {
  215. "keyword": {
  216. "type": "keyword",
  217. "ignore_above": 256
  218. }
  219. }
  220. }
  221. }
  222. },
  223. "locationIP": {
  224. "properties": {
  225. "value": {
  226. "type": "text",
  227. "fields": {
  228. "keyword": {
  229. "type": "keyword",
  230. "ignore_above": 256
  231. }
  232. }
  233. }
  234. }
  235. },
  236. "name": {
  237. "properties": {
  238. "value": {
  239. "type": "text",
  240. "fields": {
  241. "keyword": {
  242. "type": "keyword",
  243. "ignore_above": 256
  244. }
  245. }
  246. }
  247. }
  248. },
  249. "numVotes": {
  250. "properties": {
  251. "datatype": {
  252. "type": "keyword"
  253. },
  254. "value": {
  255. "type": "long"
  256. }
  257. }
  258. },
  259. "rating": {
  260. "properties": {
  261. "datatype": {
  262. "type": "keyword"
  263. },
  264. "value": {
  265. "type": "long"
  266. }
  267. }
  268. },
  269. "runtime": {
  270. "properties": {
  271. "datatype": {
  272. "type": "keyword"
  273. },
  274. "value": {
  275. "type": "long"
  276. }
  277. }
  278. },
  279. "title": {
  280. "properties": {
  281. "value": {
  282. "type": "text",
  283. "fields": {
  284. "keyword": {
  285. "type": "keyword",
  286. "ignore_above": 256
  287. }
  288. }
  289. }
  290. }
  291. },
  292. "type": {
  293. "properties": {
  294. "value": {
  295. "type": "text",
  296. "fields": {
  297. "keyword": {
  298. "type": "keyword",
  299. "ignore_above": 256
  300. }
  301. }
  302. }
  303. }
  304. },
  305. "url": {
  306. "properties": {
  307. "value": {
  308. "type": "text",
  309. "fields": {
  310. "keyword": {
  311. "type": "keyword",
  312. "ignore_above": 256
  313. }
  314. }
  315. }
  316. }
  317. },
  318. "year": {
  319. "properties": {
  320. "datatype": {
  321. "type": "keyword"
  322. },
  323. "value": {
  324. "type": "long"
  325. }
  326. }
  327. }
  328. }
  329. }
  330. }
  331. },
  332. "settings": {
  333. "index": {
  334. "creation_date": "1652998553058",
  335. "number_of_shards": "5",
  336. "number_of_replicas": "1",
  337. "uuid": "uk79kSvJTWS0d0X6qM6jbg",
  338. "version": {
  339. "created": "135238227"
  340. },
  341. "provided_name": "amazon_neptune"
  342. }
  343. }
  344. }
  345. }
Advertisement
RAW Paste Data Copied
Advertisement