CubeOpenFacetTimeRequest request = new CubeOpenFacetTimeRequest();
request.setQueryString("汽车");
request.setSource(1,2,4,8);
request.setFacetType(FacetType.PAT_COUNT);
CubePatentFacetResponse response = CLIENT.execute(request);
{
"facetCounts":{
"ad_ana":[
{
"count":103187,
"name":"2016"
},
{
"count":91488,
"name":"2015"
},
{
"count":74638,
"name":"2014"
},
{
"count":68741,
"name":"2013"
},
{
"count":61333,
"name":"2012"
},
{
"count":50025,
"name":"2011"
},
{
"count":35905,
"name":"2010"
},
{
"count":32791,
"name":"2017"
},
{
"count":26200,
"name":"2009"
},
{
"count":19198,
"name":"2008"
}
]
},
"facetPivot":{},
"numFound":657003,
"pageIndex":0,
"pageSize":0,
"success":true
}