Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
44 kB
0
Indexable
Never
{
  "size": 0,
  "timeout": "60000ms",
  "query": {
    "constant_score": {
      "filter": {
        "bool": {
          "must": [
            {
              "range": {
                "t": {
                  "from": 1104537600000,
                  "to": 1695697199999,
                  "include_lower": true,
                  "include_upper": true
                }
              }
            },
            {
              "bool": {
                "must": {
                  "bool": {
                    "must": [
                      {
                        "terms": {
                          "ln": [
                            "pt",
                            "unknown"
                          ]
                        }
                      },
                      {
                        "bool": {
                          "must_not": {
                            "bool": {
                              "should": {
                                "bool": {
                                  "must": [
                                    {
                                      "prefix": {
                                        "_index": "w"
                                      }
                                    },
                                    {
                                      "terms": {
                                        "mTp": [
                                          322
                                        ]
                                      }
                                    }
                                  ]
                                }
                              }
                            }
                          }
                        }
                      },
                      {
                        "bool": {
                          "should": [
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"operadora\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"operadoras\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"racismo\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"racista\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"negro\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"negra\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"preto\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "sk",
                                      "add.qsM": "sk",
                                      "m": "sk"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"preta\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"homofobia\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"homofóbico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"homofóbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lesbofobia\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lesbofóbico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lesbofóbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"transfobia\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "it",
                                      "add.qsM": "it",
                                      "m": "it"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"transfóbico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"transfóbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lgbt\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lgbtfóbico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "sk",
                                      "add.qsM": "sk",
                                      "m": "sk"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lgbtfóbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "ga",
                                      "add.qsM": "ga",
                                      "m": "ga"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"homossexual\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"homossexuais\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"gay\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"lésbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"bi\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "ku",
                                      "add.qsM": "ku",
                                      "m": "ku"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"bissexual\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"trans\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"transexual\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"transgênero\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"travesti\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"política\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"bolsonaro\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"gordofobia\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pl",
                                      "add.qsM": "pl",
                                      "m": "pl"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"gordofóbico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"gordofóbica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"polêmica\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"polêmico\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"machismo\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "en",
                                      "add.qsM": "en",
                                      "m": "en"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"machista\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"assedio\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "it",
                                      "add.qsM": "it",
                                      "m": "it"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"assediador\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "it",
                                      "add.qsM": "it",
                                      "m": "it"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"abusa\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"abuso\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "pt",
                                      "add.qsM": "pt",
                                      "m": "pt"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"abusador\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "extra_analyzer_per_field": {
                                      "add.t": "es",
                                      "add.qsM": "es",
                                      "m": "es"
                                    }
                                  }
                                }
                              }
                            },
                            {
                              "bool": {
                                "must": {
                                  "spr_query_string": {
                                    "query": "\"@gasadovski\"",
                                    "fields": [
                                      "add.t^25.0",
                                      "add.qsM",
                                      "m"
                                    ],
                                    "analyzer": "spr_punc"
                                  }
                                }
                              }
                            }
                          ],
                          "_cache_key": "7c22df99bebad3770195a50a52f50695"
                        }
                      }
                    ]
                  }
                }
              }
            }
          ],
          "must_not": {
            "bool": {
              "should": [
                {
                  "bool": {
                    "should": [
                      {
                        "terms": {
                          "mD.iC.ca": [
                            "1"
                          ]
                        }
                      },
                      {
                        "terms": {
                          "n.aiT.t": [
                            "5",
                            "7"
                          ]
                        }
                      },
                      {
                        "bool": {
                          "should": {
                            "terms": {
                              "n.cM.sC": [
                                "5"
                              ]
                            }
                          }
                        }
                      },
                      {
                        "terms": {
                          "pS": [
                            "true"
                          ]
                        }
                      },
                      {
                        "terms": {
                          "add.domain": [
                            "heraldsun.com.au",
                            "themercury.com.au",
                            "adelaidenow.com.au",
                            "goldcoastbulletin.com.au",
                            "dailytelegraph.com.au",
                            "ntnews.com.au",
                            "blog.naver.com",
                            "news.com.au",
                            "geelongadvertiser.com.au",
                            "theaustralian.com.au",
                            "skynews.com.au",
                            "thechronicle.com.au",
                            "cairnspost.com.au",
                            "weeklytimesnow.com.au",
                            "townsvillebulletin.com.au",
                            "cafe.naver.com",
                            "couriermail.com.au"
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "terms": {
                    "n.aiT.t": [
                      7
                    ]
                  }
                },
                {
                  "terms": {
                    "addI.mLi.licenseNames": [
                      "NLA"
                    ]
                  }
                }
              ]
            }
          }
        }
      }
    }
  },
  "aggregations": {
    "5fe11faace7f8b037df84ef4": {
      "filter": {
        "match_all": {}
      },
      "aggregations": {
        "SEM_SENTIMENT_0": {
          "terms": {
            "field": "n.s.pM",
            "missing": -1,
            "size": 50,
            "execution_hint": "map",
            "collect_mode": "breadth_first",
            "min_doc_count": 1
          },
          "aggregations": {
            "M_RDB_FIREHOSE_MENTIONS_COUNT_0": {
              "sum": {
                "script": {
                  "inline": "1"
                }
              }
            }
          }
        },
        "totalCount_M_RDB_FIREHOSE_MENTIONS_COUNT_0": {
          "sum": {
            "script": {
              "inline": "1"
            }
          }
        }
      }
    }
  }
}