我试图通过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
{}
如何使用反斜杠访问信息并将其显示在屏幕上?