# Elasticsearch 5.6.3 \_source is empty

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-6-3-source-is-empty/105946>\
**Category:** Elasticsearch\
**Created:** [October 31, 2017, 7:51pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-3-source-is-empty/105946 "2017-10-31T19:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ersoy\_Vatansever](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@Ersoy\_Vatansever](https://discuss.elastic.co/u/Ersoy_Vatansever)\
**Post date:** [October 31, 2017, 7:51pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-3-source-is-empty/105946/1 "2017-10-31T19:51:20Z")

</div>

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 ?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b17db39d318dbe6972b4d70c9d026adfd49c8691.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/9/791d83062ea317cfe6655b89e916c0d7c49004d4.png)

---

<div class="post-metadata">

**Author:** ![Ersoy\_Vatansever](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@Ersoy\_Vatansever](https://discuss.elastic.co/u/Ersoy_Vatansever)\
**Post date:** [November 2, 2017, 6:43am UTC](https://discuss.elastic.co/t/elasticsearch-5-6-3-source-is-empty/105946/2 "2017-11-02T06:43:43Z")

</div>

I resolved it, because of nest. I have an integration which developed with .net and it uses NEST

When i write to elasticsearch i used like this.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/390ee9b96de7b4be9501c77b5661fc13de75faf4.png)

When i change it like this , it works.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/6/a65be7d8d7dfcc63e5918a4c77873bb75387abbe.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 30, 2017, 6:43am UTC](https://discuss.elastic.co/t/elasticsearch-5-6-3-source-is-empty/105946/3 "2017-11-30T06:43:55Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
