| Line 177... |
Line 177... |
| 177 |
|
177 |
|
| 178 |
if(this.request.getParameter("page") != null){
|
178 |
if(this.request.getParameter("page") != null){
|
| 179 |
this.page = Long.parseLong(this.request.getParameter("page"));
|
179 |
this.page = Long.parseLong(this.request.getParameter("page"));
|
| 180 |
this.beginIndex = this.windowSize * (this.page-1);
|
180 |
this.beginIndex = this.windowSize * (this.page-1);
|
| 181 |
}
|
181 |
}
|
| 182 |
if(this.request.getParameter("min-price") != null){
|
182 |
if(this.request.getParameter("minPrice") != null){
|
| 183 |
this.minPrice = (new Double(this.request.getParameter("min-price")));
|
183 |
this.minPrice = (new Double(this.request.getParameter("minPrice")));
|
| 184 |
url= url + "&min-price=" + this.request.getParameter("min-price");
|
184 |
url= url + "&minPrice=" + this.request.getParameter("minPrice");
|
| 185 |
}
|
185 |
}
|
| 186 |
if(this.request.getParameter("max-price") != null){
|
186 |
if(this.request.getParameter("maxPrice") != null){
|
| 187 |
this.maxPrice = (new Double(this.request.getParameter("max-price")));
|
187 |
this.maxPrice = (new Double(this.request.getParameter("maxPrice")));
|
| 188 |
url= url + "&max-price=" + this.request.getParameter("max-price");
|
188 |
url= url + "&maxPrice=" + this.request.getParameter("maxPrice");
|
| 189 |
}
|
189 |
}
|
| 190 |
|
190 |
|
| 191 |
query = query + "&sort=F_50002+asc";
|
191 |
query = query + "&sort=F_50002+asc";
|
| 192 |
|
192 |
|
| 193 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, 10000, null);
|
193 |
SolrSearchService search = new SolrSearchService(query, newfqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice, 10000, null);
|