Advertisement
Guest User

Untitled

a guest
Mar 21st, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. {
  2. "test": {
  3. "properties": {
  4. "nested_docs": {
  5. "type": "nested",
  6. "properties": {
  7. "nested_doc1": {
  8. "type": "nested",
  9. "properties": {
  10. "user_id": {
  11. "type": "string",
  12. "index": "not_analyzed"
  13. },
  14. "created_time": {
  15. "type": "date",
  16. "format": "dateOptionalTime"
  17. }
  18. }
  19. },
  20. "nested_doc2": {
  21. "type": "nested",
  22. "properties": {
  23. "user_id": {
  24. "type": "string",
  25. "index": "not_analyzed"
  26. },
  27. "created_time": {
  28. "type": "date",
  29. "format": "dateOptionalTime"
  30. }
  31. }
  32. },
  33. "nested_doc3": {
  34. "type": "nested",
  35. "properties": {
  36. "test_id": {
  37. "type": "string",
  38. "index": "not_analyzed"
  39. },
  40. "created_time": {
  41. "type": "date",
  42. "format": "dateOptionalTime"
  43. }
  44. }
  45. },
  46. "nested_doc4": {
  47. "type": "nested",
  48. "properties": {
  49. "test_id": {
  50. "type": "string",
  51. "index": "not_analyzed"
  52. },
  53. "created_time": {
  54. "type": "date",
  55. "format": "dateOptionalTime"
  56. }
  57. }
  58. }
  59. }
  60. }
  61. }
  62. }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement