I have a document like below, the "tags" field is a nested document, and I
want to make all child field for tags document to be index = not_analyzed.
The problem is that field in tags will be dynamic. any tag could possible.
So how I can define dynamic mapping for this.
{
'level': 'info',
'tags': {
'content': 'Nov 6 11:07:10 ja10 Keepalived_healthcheckers: Adding
service [172.16.08.105:80] to VS [172.16.1.21:80]',
'id': 1755360087,
'kid': '2012121316',
'mailto': 'yanping3,chunying,pengjie',
'route': 15,
'service': 'LVS',
'subject': 'LVS_RS',
'upgrade': 'no upgrade configuration for this alert'
},
'timestamp': 1383707282.500464
}
I have a document like below, the "tags" field is a nested document, and I
want to make all child field for tags document to be index = not_analyzed.
The problem is that field in tags will be dynamic. any tag could possible.
So how I can define dynamic mapping for this.
{
'level': 'info',
'tags': {
'content': 'Nov 6 11:07:10 ja10 Keepalived_healthcheckers: Adding
service [172.16.08.105:80] to VS [172.16.1.21:80]',
'id': 1755360087,
'kid': '2012121316',
'mailto': 'yanping3,chunying,pengjie',
'route': 15,
'service': 'LVS',
'subject': 'LVS_RS',
'upgrade': 'no upgrade configuration for this alert'
},
'timestamp': 1383707282.500464
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.