试图弄清楚使用弹性版本6.0实现父子关系的概念和语法
pp <- ggplot(df2, aes(Year, Value)) +
geom_bar(stat = "identity", aes(fill = lbs)) +
transition_states(ID,
transition_length = 4, state_length = 2) +
ease_aes('cubic-in-out')
但是
PUT my_index
{
"mappings": {
"_doc": {
"properties": {
"my_join_field": {
"type": "join",
"relations": {
"parentx": "childx",
"parenty": "childy"
}
}
}
}
}
}
PUT my_index/_doc/101?refresh
{
"text": "This is a question",
"my_join_field": {
"name": ["parentx","parenty" ]
}
}
PUT my_index/_doc/102?routing=101&refresh
{
"text": "This is an answer",
"my_join_field": {
"name": "childx",
"parent": "101"
}
}
PUT my_index/_doc/103?routing=101&refresh
{
"text": "This is another answer",
"my_join_field": {
"name": "childy",
"parent": "101"
}
}
GET my_index/_search
GET my_index/_search?routing=101
#so far so good
无结果 为什么?