我想要一个围绕几个参与者的盒子,表明他们是一个实体的一部分。如何在 PlantUML 中做到这一点?
我试图在ElasticSearch中编写一个查询,该查询匹配单词中的连续字符。因此,如果我的索引包含“ John Doe”,则对于以下搜索,我仍然应该看到Elasticsearch返回的“ John Doe”。
到目前为止,我已经尝试了以下查询。
{
"query": {
"multi_match": {
"query": "term",
"operator": "OR",
"type": "phrase_prefix",
"max_expansions": 50,
"fields": [
"Field1",
"Field2"
]
}
}
}
Run Code Online (Sandbox Code Playgroud)
但这也会返回不必要的匹配,例如当我键入john x时我仍然会得到“ John Doe”。