Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "test": {
- "properties": {
- "nested_docs": {
- "type": "nested",
- "properties": {
- "nested_doc1": {
- "type": "nested",
- "properties": {
- "user_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "created_time": {
- "type": "date",
- "format": "dateOptionalTime"
- }
- }
- },
- "nested_doc2": {
- "type": "nested",
- "properties": {
- "user_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "created_time": {
- "type": "date",
- "format": "dateOptionalTime"
- }
- }
- },
- "nested_doc3": {
- "type": "nested",
- "properties": {
- "test_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "created_time": {
- "type": "date",
- "format": "dateOptionalTime"
- }
- }
- },
- "nested_doc4": {
- "type": "nested",
- "properties": {
- "test_id": {
- "type": "string",
- "index": "not_analyzed"
- },
- "created_time": {
- "type": "date",
- "format": "dateOptionalTime"
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement