CubeOpenFacetIpcRequest request = new CubeOpenFacetIpcRequest();
request.setQueryString("汽车");
request.setSource(1,2,4,8);
request.setFacetType(FacetType.PAT_COUNT);
CubePatentFacetResponse response = CLIENT.execute(request);
{
"facetCounts":{
"ic1_ana_1":[
{
"count":264131,
"name":"B"
},
{
"count":98524,
"name":"F"
},
{
"count":60300,
"name":"G"
},
{
"count":48361,
"name":"H"
},
{
"count":25818,
"name":"C"
},
{
"count":20169,
"name":"E"
},
{
"count":9633,
"name":"A"
},
{
"count":1815,
"name":"D"
}
]
},
"facetPivot":{},
"numFound":657003,
"pageIndex":0,
"pageSize":0,
"success":true
}