| Line 202... |
Line 202... |
| 202 |
String.format("+(categoryId_i:%s) +(brand_ss:%s) +{!parent which=\"brand_ss:%s\"} tagId_i:(%s)",
|
202 |
String.format("+(categoryId_i:%s) +(brand_ss:%s) +{!parent which=\"brand_ss:%s\"} tagId_i:(%s)",
|
| 203 |
categoryId, brand, brand, StringUtils.join(tagIds, " ")));
|
203 |
categoryId, brand, brand, StringUtils.join(tagIds, " ")));
|
| 204 |
} else if (subCategoryId != null) {
|
204 |
} else if (subCategoryId != null) {
|
| 205 |
mandatoryQ.add(
|
205 |
mandatoryQ.add(
|
| 206 |
String.format("+(subCategoryId_i:%s) +{!parent which=\"subCategoryId_i:%s\"} tagId_i:(%s)",
|
206 |
String.format("+(subCategoryId_i:%s) +{!parent which=\"subCategoryId_i:%s\"} tagId_i:(%s)",
|
| 207 |
categoryId, subCategoryId, subCategoryId, StringUtils.join(tagIds, " ")));
|
207 |
subCategoryId, subCategoryId, StringUtils.join(tagIds, " ")));
|
| 208 |
} else if (hotDeal) {
|
208 |
} else if (hotDeal) {
|
| 209 |
mandatoryQ.add(String.format("+{!parent which=\"hot_deals_b=true\"} tagId_i:(%s)",
|
209 |
mandatoryQ.add(String.format("+{!parent which=\"hot_deals_b=true\"} tagId_i:(%s)",
|
| 210 |
StringUtils.join(tagIds, " ")));
|
210 |
StringUtils.join(tagIds, " ")));
|
| 211 |
} else {
|
211 |
} else {
|
| 212 |
mandatoryQ.add(
|
212 |
mandatoryQ.add(
|