aa1662915585
二十三年文
2019-05-31 14:30

es分布式查询报错[size] must be greater than 0. Found [0] in [value_terms]

  • 中文分词
  • elasticsearch
  • lucene
  • 全文检索
  • 搜索引擎

[size] must be greater than 0. Found [0] in [value_terms]
at org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder.size(TermsAggregationBuilder.java:163) ~[elasticsearch-6.6.1.jar:6.6.1]
at com.lihero.api.rawData.service.impl.rawDataServiceImpl.getrawDataTable(rawDataServiceImpl.java:61) ~[classes/:na]
at com.lihero.api.rawData.controller.rawDataCtrl.getrawDataTable(rawDataCtrl.java:48) ~[classes/:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐

换一换