I've this search array during the php client 2.0 - search api call on elasticsearch 2.3.1 and not sure why some data doesn't return all the field and the value contains "write file". I can find those in kibana though. Anyone had this before and know why?
Array
(
[index] => daily_summary_mobile_geo*
[body] => Array
(
[_source] => Array
(
[0] => @timestamp
[1] => record_campId
[2] => record_affiliateId
[3] => device_os
[4] => device_os_version
[5] => record_country
[6] => record_impression
[7] => record_click
[8] => record_lead
[9] => record_theyGet
[10] => record_weGet
)
[sort] => Array
(
[record_campId] => Array
(
[order] => desc
)
)
[query] => Array
(
[bool] => Array
(
[must] => Array
(
[0] => Array
(
[range] => Array
(
[@timestamp] => Array
(
[gte] => 1491004800000
[lt] => 1491436800000
[format] => epoch_millis
)
)
)
)
)
)
[from] => 0
[size] => 25
)
)
Return:
[hits] => Array
(
[0] => Array
(
[_index] => daily_summary_mobile_geo-2017
[_type] => log
[_id] => AVs3foc8GoRGyVWoAOos
[_score] =>
[_source] => Array
(
[@timestamp] => 2017-04-03T22:59:59.000Z
[record_campId] => write file
)
[sort] => Array
(
[0] => write file
)
).....