...
|
...
|
@@ -42,12 +42,12 @@ public class GenderNewAggregation extends AbstractAggregation { |
|
|
Bucket ltgender = itgenderAgg.next();
|
|
|
String genderId = ltgender.getKeyAsString();
|
|
|
if ("1".equals(genderId)) {
|
|
|
genderMap.put("1,3", "BOYS");
|
|
|
genderMap.put("1,3", "MEN");
|
|
|
} else if ("2".equals(genderId)) {
|
|
|
genderMap.put("2,3", "GIRLS");
|
|
|
genderMap.put("2,3", "WOMEN");
|
|
|
} else if ("3".equals(genderId)) {
|
|
|
genderMap.put("1,3", "BOYS");
|
|
|
genderMap.put("2,3", "GIRLS");
|
|
|
genderMap.put("1,3", "MEN");
|
|
|
genderMap.put("2,3", "WOMEN");
|
|
|
}
|
|
|
}
|
|
|
return genderMap;
|
...
|
...
|
|