...
|
...
|
@@ -85,7 +85,10 @@ public class BrandWithSortNameSuggestionDiscoverer extends AbstractSuggestionDis |
|
|
MultiBucketsAggregation.Bucket smallSortBucket = smallSortBucketIterator.next();
|
|
|
Integer smallSortId = Integer.valueOf(smallSortBucket.getKeyAsString());
|
|
|
if (sortNameMap.containsKey(smallSortId)) {
|
|
|
brandNameSet.add(brandName + " " + sortNameMap.get(smallSortId));
|
|
|
String sortName = sortNameMap.get(smallSortId);
|
|
|
for (String itemName : sortName.split("\\/")) {
|
|
|
brandNameSet.add(brandName + " " + itemName);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|