elasticsearch,Php,elasticsearch" /> elasticsearch,Php,elasticsearch" />

Php 我在ElasticSearch中使用uax_url_电子邮件创建了一个电子邮件分析器。我如何在这样的过滤器中使用它?

Php 我在ElasticSearch中使用uax_url_电子邮件创建了一个电子邮件分析器。我如何在这样的过滤器中使用它?,php,elasticsearch,Php,elasticsearch,我在ElasticSearch中使用uax_url_电子邮件创建了一个电子邮件分析器(名为电子邮件分析器)。我如何在这样的过滤器中使用它 { "query" : { "filtered" : { "filter" : { "term" : { "category" : "100" }}, "filter" : { "term" : { "email" : "test@test.com" }},

我在ElasticSearch中使用uax_url_电子邮件创建了一个电子邮件分析器(名为电子邮件分析器)。我如何在这样的过滤器中使用它

{
        "query" : {
            "filtered" : {
                "filter" : { "term" : { "category" : "100" }},
                "filter" : { "term" : { "email" : "test@test.com" }},
            "query": {
                "bool": {
                  "should": [
                    { "match": { "title": "something" }}
                ],
                  "minimum_should_match": "100%" 
                }
              }
              }
            },
            "highlight": {
                "fields" : {
                    "title" : {}
                }
            }
        }
    }