mapping: {
dynamic: 'strict',
properties: {
name: { type: 'text', index: false },
email: { type: 'keyword' },
phoneNumber: { type: 'text', index: false },
},
},
How to add the required field for name, email and phone number?
mapping: {
dynamic: 'strict',
properties: {
name: { type: 'text', index: false },
email: { type: 'keyword' },
phoneNumber: { type: 'text', index: false },
},
},
How to add the required field for name, email and phone number?