Hi,
I seem to be having an issue with getting the _source value to populate -
I'm not sure why as I thought this happened on default - but it keeps
coming back empty.
I also got the following error while trying to save the second value in a
nested array ("end_call_info"). Do I need an "_index" field and if so what
values does it need?
{"error":"RemoteTransportException[[es004][inet[/172.16.2.202:9300]][indices:data/write/index]];
nested: StrictDynamicMappingException[mapping set to strict, dynamic
introduction of [_index] within [cdr_data] is not allowed]; ","status":400}
I made different changes to the mapping from:
- changing "_source" includes and enabled,
- Changing "store" values for fields
The value is always the same:
Example :
{
- "_index": "cdr",
- "_type": "cdr_data",
- "_id": "vs-1426792279.84561",
- "_version": 1,
- "_score": 1,
- "_source": { }
}
Mapping is a follows:
{
"dynamic": "strict",
"_source":{
"enabled":true,
"includes": ["meta.", "doc."]
},
"properties": {
"uniqueid": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"context": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"start_call_info": {
"type" : "nested",
"properties": {
"disposition": {
"type": "string",
"index": "not_analyzed"
}
}
},
"end_call_info": {
"type" : "nested",
"properties": {
"uniqueid": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"calldate": {
"type": "date",
"format": "date_hour_minute_second",
"store": true
},
"end_calldate": {
"type": "date",
"format": "date_hour_minute_second",
"store": true
},
"clid": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"src": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"dst": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"dcontext": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"channel": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"dstchannel": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"lastapp": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"lastdata": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"duration": {
"type": "long",
"store": true
},
"billsec": {
"type": "long",
"store": true
},
"call_direction": {
"type": "string",
"index": "not_analyzed",
"store":"no"
},
"disposition": {
"type": "string",
"index": "not_analyzed",
"store": "no"
},
"amaflags": {
"type": "long",
"index": "not_analyzed",
"store": true
},
"userfield": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"ip_address": {
"type": "ip",
"store": true
},
"inb_caller_label": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"inb_caller_number": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"inb_number_dialled": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"int_dst_phone": {
"type": "string",
"index": "not_analyzed",
"store": true
},
"location_id": {
"type": "long",
"index": "not_analyzed",
},
"int_dst_department_id": {
"type": "long",
"index": "not_analyzed",
"store": true
},
"int_src_department_id": {
"type": "long",
"index": "not_analyzed",
"store": true
},
"int_dst_agent_id": {
"type": "long",
"index": "not_analyzed",
"store": true
},
"int_src_agent_id": {
"type": "long",
"index": "not_analyzed",
"store": true
}
}
}
}
}
Any help is greatly appreciated.
Thanks,
Mark
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0b802246-1c54-46c8-85af-722d8a0fd58e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.