使用 shuf 来打乱一个文件中的行或是选择文件中一个随机的行。

请问一下大家,elasticsqech 在进行大数据聚合时直接报错,请问怎么请理,跪谢

Elasticsearch | 作者 liyougen | 发布于2018年12月16日 | 阅读数:1770

l, maxConcurrentShardRequests=5, batchedReduceSize=512, preFilterShardSize=128, source={
  "size" : 0,
  "query" : {
    "query_string" : {
      "query" : " documentDate:[2013-01-01 TO 2017-12-31] AND countryCode:(US) AND status:(\"pat\")",
      "fields" : [ ],
      "use_dis_max" : true,
      "tie_breaker" : 0.0,
      "default_operator" : "and",
      "auto_generate_phrase_queries" : false,
      "max_determinized_states" : 10000,
      "enable_position_increments" : true,
      "fuzziness" : "AUTO",
      "fuzzy_prefix_length" : 0,
      "fuzzy_max_expansions" : 50,
      "phrase_slop" : 0,
      "escape" : false,
      "split_on_whitespace" : true,
      "boost" : 1.0
    }
  },
  "aggregations" : {
    "assignee_area" : {
      "terms" : {
        "field" : "assignee_area",
        "size" : 50000,
        "min_doc_count" : 10,
        "shard_min_doc_count" : 0,
        "show_term_doc_count_error" : false,
        "order" : [
          {
            "_count" : "desc"
          },
          {
            "_term" : "asc"
          }
        ],
        "collect_mode" : "breadth_first"
      },
      "aggregations" : {
        "ipc" : {
          "terms" : {
            "field" : "ipc3level",
            "size" : 1000,
            "min_doc_count" : 10,
            "shard_min_doc_count" : 0,
            "show_term_doc_count_error" : false,
            "order" : [
              {
                "_count" : "desc"
              },
              {
                "_term" : "asc"
              }
            ],
            "collect_mode" : "breadth_first"
          },
          "aggregations" : {
            "date" : {
              "date_histogram" : {
                "field" : "documentDate",
                "format" : "yyyy",
                "interval" : "year",
                "offset" : 0,
                "order" : {
                  "_key" : "asc"
                },
                "keyed" : false,
                "min_doc_count" : 0
              }
            }
          }
        }
      }
    }
  }
}}]
已邀请:

God_lockin

赞同来自:

mapping、示例文档、集群配置、报错信息…

要回复问题请先登录注册