When creating the index later on, the mapping looks like this:
{
"obj1": {
"properties": {
"obj2": {
"type": "object"
},
"name": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
And when I index a document the mapping of fields "obj2.id" and "obj2.name"
are dynamically created (with type string) but does not become
"not_analyzed" which is what I need them to be.
Any ideas? Is it not possible to use object mappings in index templates?
When creating the index later on, the mapping looks like this:
{
"obj1": {
"properties": {
"obj2": {
"type": "object"
},
"name": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
And when I index a document the mapping of fields "obj2.id" and "obj2.name"
are dynamically created (with type string) but does not become
"not_analyzed" which is what I need them to be.
Any ideas? Is it not possible to use object mappings in index templates?
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.