Hello.
I tried to work with “path” property and this feature does not work in
the number of cases.
May be there is my mistake in request. I am working with example from elasticsearch.com
Schema definition
{
"tweet" : {
"properties" : {
"person" : {
"properties" : {
"name" : {
"properties" : {
"field1" : {
"type" : "string",
"path" : "full"
},
"field2" : {
"type" : "string",
"path" : "full",
"index_name" : "field2Index"
},
"field3" : {
"type" : "string",
"path" : "just_name"
},
"field4" : {
"type" : "string",
"path" : "just_name",
"index_name" : "field4Index"
}
}
}
}
},
"message" : {
"type" : "string"
}
}
}
}
Sorry for the late response. The doc is wrong (it was something that I
thought about in a "branch", not sure how it got into the docs, I will fix
it). Basically, the path configuration only applies to object type mapping,
and applies to all fields within it.
Hello.
I tried to work with “path” property and this feature does not work in
the number of cases.
May be there is my mistake in request. I am working with example from elasticsearch.com
Schema definition
{
"tweet" : {
"properties" : {
"person" : {
"properties" : {
"name" : {
"properties" : {
"field1" : {
"type" : "string",
"path" : "full"
},
"field2" : {
"type" : "string",
"path" : "full",
"index_name" : "field2Index"
},
"field3" : {
"type" : "string",
"path" : "just_name"
},
"field4" : {
"type" : "string",
"path" : "just_name",
"index_name" : "field4Index"
}
}
}
}
},
"message" : {
"type" : "string"
}
}
}
}
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.