Skip to content

Commit

Permalink
4.8.15 dev v1 (#77)
Browse files Browse the repository at this point in the history
* user search facets patch

* user search facets patch

* user search facets patch

* user search facets patch

* user search facets patch

* user search facets patch

* user search facets patch
  • Loading branch information
anilkumarkammalapalli authored Jun 10, 2024
1 parent ad8be79 commit 29d6130
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,15 +634,7 @@ private static SearchSourceBuilder addAggregations(
searchSourceBuilder.aggregation(
AggregationBuilders.terms(key).field(key + ElasticSearchHelper.RAW_APPEND));
} else {
Predicate<String> doesNotRequireRaw = field ->
field.equals("profileDetails.profileStatus") ||
field.equals("profileDetails.additionalProperties.tag") ||
field.equals("profileDetails.additionalProperties.webPortalLang") ||
field.equals("profileDetails.employmentDetails.departmentName") ||
field.equals("profileDetails.employmentDetails.employeeCode") ||
field.equals("profileDetails.personalDetails.category") ||
field.equals("profileDetails.personalDetails.domicileMedium") ||
field.equals("profileDetails.personalDetails.gender");
Predicate<String> doesNotRequireRaw = field -> field.startsWith("profileDetails");
for (Map<String, Object> groupByMap : facets) {
String groupByParent = (String) groupByMap.get(key);
if (!value.contains(".")) {
Expand Down

0 comments on commit 29d6130

Please sign in to comment.