Showing
1 changed file
with
4 additions
and
1 deletions
@@ -85,7 +85,10 @@ public class BrandWithSortNameSuggestionDiscoverer extends AbstractSuggestionDis | @@ -85,7 +85,10 @@ public class BrandWithSortNameSuggestionDiscoverer extends AbstractSuggestionDis | ||
85 | MultiBucketsAggregation.Bucket smallSortBucket = smallSortBucketIterator.next(); | 85 | MultiBucketsAggregation.Bucket smallSortBucket = smallSortBucketIterator.next(); |
86 | Integer smallSortId = Integer.valueOf(smallSortBucket.getKeyAsString()); | 86 | Integer smallSortId = Integer.valueOf(smallSortBucket.getKeyAsString()); |
87 | if (sortNameMap.containsKey(smallSortId)) { | 87 | if (sortNameMap.containsKey(smallSortId)) { |
88 | - brandNameSet.add(brandName + " " + sortNameMap.get(smallSortId)); | 88 | + String sortName = sortNameMap.get(smallSortId); |
89 | + for (String itemName : sortName.split("\\/")) { | ||
90 | + brandNameSet.add(brandName + " " + itemName); | ||
91 | + } | ||
89 | } | 92 | } |
90 | } | 93 | } |
91 | } | 94 | } |
-
Please register or login to post a comment