...
|
...
|
@@ -100,9 +100,9 @@ public class AggProductListServiceImpl implements IAggProductListService, Applic |
|
|
private int getTopHitsBucketSize(Map<String, String> paramMap) {
|
|
|
try {
|
|
|
int count = Integer.parseInt(paramMap.get("aggTypeSize"));
|
|
|
return count <= 0 ? 0 : count;
|
|
|
return count <= 0 ? 1 : count;
|
|
|
} catch (Exception e) {
|
|
|
return 0;
|
|
|
return 1;
|
|
|
}
|
|
|
}
|
|
|
|
...
|
...
|
|