Project

General

Profile

Task #2638 » ask_en.json

Guilhem Moulin, 2019-06-21 01:38

 
1
{
2
  "query": {
3
    "bool": {
4
      "must": [
5
        {
6
          "term": {
7
            "origin": "https://ask.libreoffice.org/en/"
8
          }
9
        },
10
        {
11
          "term": {
12
            "author_bot": false
13
          }
14
        },
15
        {
16
          "term": {
17
            "type": "answer"
18
          }
19
        },
20
        {
21
          "term": {
22
            "is_accepted_answer": 1
23
          }
24
        }
25
      ]
26
    }
27
  },
28
  "aggs": {
29
    "answer_authors": {
30
      "terms": {
31
        "field": "author_url",
32
        "min_doc_count": 50,
33
        "size": 10000
34
      }
35
    }
36
  }
37
}
(4-4/6)