Authored by Gino Zhang

sortname 需要对连接符进行出来

@@ -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 }