elasticsearch - ELASTICSEARCH - 带有反斜杠的 Filter_path 查询
问题描述
我试图通过filter_path获取带有反斜杠的字段中的值,但它不返回任何内容。
GET mike/_search?filter_path=hits.hits._source.data.add.ces.info
{
"hits" : {
"hits" : [
{
"_source" : {
"data" : [
{
"add" : [
{
"ces" : [
{
"info" : "{\"@color\": \"red\",\"state\":
{\"@state\": \"open\", \"@reason\": \"null\"}}"
}
GET mike/_search?filter_path=hits.hits._source.data.add.ces.info.@color
{}
如何使用反斜杠访问信息并将其显示在我的屏幕上?
解决方案
推荐阅读
- sql - 是否可以在 SQL 中存储一个变量(int),然后在到达某个日期后生效?
- android - Locale.getDefault().getCountry() 返回空字符串
- python - 如何在阈值距离后获得新的点列表?
- freemarker - 使用 Freemarker 将字符串转换为数组
- html - 如何在图像缩放后修复父元素大小?
- jdbc - 如何使用 c3p0 库设置驱动程序连接属性?
- android - 如何从 RecyclerView 适配器项目中的切换 OnClickListeners 构建对象的 Arraylist
- git - 在 ls-remote 中指定端口
- php - 如何根据动态值移动二进制字符串 - PHP
- google-analytics - 谷歌分析在显示报告时混淆了我的两个网站