| Line 103... |
Line 103... |
| 103 |
// interchangably for both the things
|
103 |
// interchangably for both the things
|
| 104 |
public JSONArray getSolrDocs(String queryTerm, String categoryId, String offset, String limit, String sort,
|
104 |
public JSONArray getSolrDocs(String queryTerm, String categoryId, String offset, String limit, String sort,
|
| 105 |
String brand, int subCategoryId, boolean hotDeal) throws Throwable {
|
105 |
String brand, int subCategoryId, boolean hotDeal) throws Throwable {
|
| 106 |
List<String> parentFilter = new ArrayList<>();
|
106 |
List<String> parentFilter = new ArrayList<>();
|
| 107 |
parentFilter.add("categoryId_i:" + categoryId);
|
107 |
parentFilter.add("categoryId_i:" + categoryId);
|
| 108 |
|
- |
|
| - |
|
108 |
parentFilter.add("show_default_b:true");
|
| 109 |
List<String> childFilter = new ArrayList<>();
|
109 |
List<String> childFilter = new ArrayList<>();
|
| 110 |
childFilter.add("itemId_i:*");
|
110 |
childFilter.add("itemId_i:*");
|
| 111 |
|
111 |
|
| 112 |
Map<String, String> params = new HashMap<>();
|
112 |
Map<String, String> params = new HashMap<>();
|
| 113 |
if (queryTerm == null || queryTerm.equals("null")) {
|
113 |
if (queryTerm == null || queryTerm.equals("null")) {
|