我知道弹性搜索中有一个很好的复合词令牌过滤器,但我的问题有点不同.我想知道谷歌这样的搜索引擎如何处理像"邮局"或"客厅"这样的开放式复合词.如果您键入"邮局"而不是"邮局",您仍然会得到相同的结果.我希望在我的搜索引擎中使用elasticsearch有这样的功能.这个问题的解决方案是什么?我应该将邮局标记为一个令牌吗?如果是真的,怎么样?
这是我在 application.yaml 中的配置:
management:
endpoint:
health:
show-details: "ALWAYS"
probes:
enabled: true
endpoints:
enabled-by-default: true
web:
exposure:
include: metrics, health, caches, restart
Run Code Online (Sandbox Code Playgroud)
根据文档,这应该足以为 Spring 应用程序启用活性和就绪性探测。但端点(/actuator/health/liveness和/actuator/health/readiness)仍然返回 404。我在配置中尝试了多种组合,但没有任何效果。你能告诉我该怎么办吗?
我正在阅读Effective C++.在第41项中,作者说明了显式和隐式接口之间的差异.我理解显式接口,但隐含呢?