{ "settings": { "number_of_shards": 3, "number_of_replicas": 2 }, "mappings": { "properties": { "accountIds": { "type": "keyword" }, "batchAddedDate": { "type": "date", "format": "uuuu-MM-dd'T'HH:mm:ss" }, "clients": { "type": "keyword" }, "company": { "type": "keyword" }, "companyId": { "type": "keyword" }, "createdDate": { "type": "date", "format": "uuuu-MM-dd'T'HH:mm:ss" }, "email": { "type": "keyword" }, "firstName": { "type": "keyword" }, "fullName": { "type": "text" }, "isActive": { "type": "boolean" }, "lastName": { "type": "keyword" }, "middleName": { "type": "keyword" }, "preferredName": { "type": "keyword" }, "status": { "type": "keyword" }, "tags": { "type": "nested", "properties": { "name": { "type": "keyword" }, "value": { "type": "keyword" } } }, "userId": { "type": "text" } } } }