elasticsearch濾過し、空の文字列に加えていくつかの小さなフィルター

{
    "クエリ":{
        "constant_score":{
            "フィルタ":{
                "BOOL":{
                    "must_not":{
                        "BOOL":{
                            "must_not":[
                                {
                                    "ワイルドカード":{
                                        "コンテンツ":"*"
                                    }
                                }、
                                {
                                    "という用語は、":{
                                        "USER_ID":241448230
                                    }
                                }
                            ]
                        }
                    }
                    "なければならない": [
                        {
                            "用語":{
                                "is_online":
                            }
                        }、
                        {
                            "という用語は":{
                                "is_deleted":
                            }
                        }、
                        {
                            "という用語は":{
                                "pictorial_id":1
                            }
                        }
                    ]
                }
            }
        }
    }
}

おすすめ

転載: www.cnblogs.com/lixiaofang-123/p/11543908.html