I'll crazy about it. I create new index with a document type.
This is my mapping
{
"settings": {
"number_of_shards": 2,
"number_of_replicas": 1,
"refresh_interval": "30s",
"max_result_window" : 500000
},
"mappings": {
"outletmarketmodel": {
"properties": {
"eurPrice": {
"type": "double"
},
"images": {
"type": "keyword",
"index": false,
"store": true
},
"item": {
"properties": {
"serialNumber": {
"type": "keyword"
},
"productID": {
"type": "keyword",
"index": false,
"store": true
},
"sapDescription": {
"type": "keyword",
"index": false,
"store": true
},
"endDate": {
"format": "dateOptionalTime",
"index": false,
"store": true,
"type": "date"
},
"tester": {
"index": false,
"store": true,
"type": "keyword"
},
"explanation": {
"index": false,
"store": true,
"type": "keyword"
},
"isActive": {
"type": "boolean"
},
"createdOn": {
"format": "dateOptionalTime",
"index": false,
"store": true,
"type": "date"
},
"outletReasonDescription": {
"index": false,
"store": true,
"type": "keyword"
},
"zzSerialNumber": {
"type": "keyword"
},
"zZSerialNumber": {
"type": "keyword"
},
"price": {
"type": "double"
},
"outletReason": {
"type": "keyword"
},
"warranty": {
"index": false,
"store": true,
"type": "long"
},
"currency": {
"index": false,
"store": true,
"type": "keyword"
},
"startDate": {
"format": "dateOptionalTime",
"index": false,
"store": true,
"type": "date"
}
}
},
"product": {
"properties": {
"searchText": {
"type": "keyword"
},
"productID": {
"type": "keyword"
},
"materialGroupValue": {
"type": "keyword"
},
"materialGroupID": {
"index": false,
"store": true,
"type": "keyword"
},
"vatRate": {
"index": false,
"store": true,
"type": "double"
},
"name": {
"index": false,
"store": true,
"type": "keyword"
},
"exMaterialGroupValue": {
"index": false,
"store": true,
"type": "keyword"
},
"exMaterialGroupID": {
"index": false,
"store": true,
"type": "keyword"
},
"priceD": {
"index": false,
"store": true,
"type": "double"
},
"currencyIDD": {
"index": false,
"store": true,
"type": "keyword"
}
}
},
"usdPrice": {
"type": "double"
},
"profitRateIsSet": {
"type": "boolean",
"index": false,
"store": true
},
"outletProductImagePath": {
"type": "keyword",
"index": false,
"store": true
},
"tryPrice": {
"type": "double"
}
}
}
}
}
The other indexes i get source field with data but on that map i cant
I see data on table tab but on json tab nothing also when i send request i get nothing again.
NOTE : I dont get this issue on elasticsearch 5.3.0
Please can anyone help me ?