| Line 152... |
Line 152... |
| 152 |
if(this.request.getParameter("page") != null){
|
152 |
if(this.request.getParameter("page") != null){
|
| 153 |
this.page = Long.parseLong(this.request.getParameter("page"));
|
153 |
this.page = Long.parseLong(this.request.getParameter("page"));
|
| 154 |
this.beginIndex = this.windowSize * (this.page-1);
|
154 |
this.beginIndex = this.windowSize * (this.page-1);
|
| 155 |
}
|
155 |
}
|
| 156 |
|
156 |
|
| 157 |
if(this.request.getParameter("min-price") != null){
|
157 |
if(this.request.getParameter("minPrice") != null){
|
| 158 |
this.minPrice = (new Double(this.request.getParameter("min-price")));
|
158 |
this.minPrice = (new Double(this.request.getParameter("minPrice")));
|
| 159 |
url= url + "&min-price=" + this.request.getParameter("min-price");
|
159 |
url= url + "&minPrice=" + this.request.getParameter("minPrice");
|
| 160 |
}
|
160 |
}
|
| 161 |
|
161 |
|
| 162 |
if(this.request.getParameter("max-price") != null){
|
162 |
if(this.request.getParameter("maxPrice") != null){
|
| 163 |
this.maxPrice = (new Double(this.request.getParameter("max-price")));
|
163 |
this.maxPrice = (new Double(this.request.getParameter("maxPrice")));
|
| 164 |
url= url + "&max-price=" + this.request.getParameter("max-price");
|
164 |
url= url + "&maxPrice=" + this.request.getParameter("maxPrice");
|
| 165 |
}
|
165 |
}
|
| 166 |
|
166 |
|
| 167 |
query = query + "&sort=F_50002+asc";
|
167 |
query = query + "&sort=F_50002+asc";
|
| 168 |
|
168 |
|
| 169 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, 10000, null);
|
169 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, 10000, null);
|