Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have read query-string-syntax official doc

some mapping detail

            "ip":{
                "type":"keyword"
            },
            "dest_ip":{
                "type":"keyword",
                "copy_to":"ip"
            },
            "src_ip":{
                "type":"keyword",
                "copy_to":"ip"
            },

When I want to search as ip:10.118.0.15,es nothing hits. But when use ip=10.118.0.15 I get the results I want.

  • I want to know why.
  • How to use the common syntax like ip:10.118.0.15 to search ? Add some config?

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
742 views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...