Subversion Repositories SmartDukaan

Rev

Rev 545 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 545 Rev 550
Line 152... Line 152...
152
		 */
152
		 */
153
    	// Hard coded for now
153
    	// Hard coded for now
154
//    	long[] facetDefIDs = new long[] {50001, 50003, 50004, 50005, 50006, 
154
//    	long[] facetDefIDs = new long[] {50001, 50003, 50004, 50005, 50006, 
155
//    			50007, 50008, 50009};
155
//    			50007, 50008, 50009};
156
    	
156
    	
157
    	String[] facetDefIDs = new String[] {"Category","F_50002","F_50001",  "F_50006", "F_50007" };
157
    	String[] facetDefIDs = new String[] {"F_50010","F_50011","F_50002","F_50001",  "F_50006", "F_50007" };
158
    	
158
    	
159
    	/* All facets. Removing 5 of them
159
    	/* All facets. Removing 5 of them
160
    	String[] facetDefIDs = new String[] {"Category","F_50002","F_50001", "F_50003", "F_50004", "F_50005", "F_50006", 
160
    	String[] facetDefIDs = new String[] {"Category","F_50002","F_50001", "F_50003", "F_50004", "F_50005", "F_50006", 
161
    			"F_50007", "F_50008", "F_50009"};
161
    			"F_50007", "F_50008", "F_50009"};
162
    	*/		
162
    	*/		
Line 172... Line 172...
172
    	    	"Data Connectivity", "Camera Resolution", "Built-in Memory", 
172
    	    	"Data Connectivity", "Camera Resolution", "Built-in Memory", 
173
    	    	"Talk time"
173
    	    	"Talk time"
174
        	};
174
        	};
175
    	*/
175
    	*/
176
    	
176
    	
177
    	String[] facetLabels = new String[] {"Category","Price",
177
    	String[] facetLabels = new String[] {"Category","Category","Price",
178
    	    	"Brand", "Data Connectivity", "Camera Resolution"
178
    	    	"Brand", "Data Connectivity", "Camera Resolution"
179
        	};
179
        	};
180
    	
180
    	
181
    	SolrSearchService search = new SolrSearchService(query, fqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice);
181
    	SolrSearchService search = new SolrSearchService(query, fqrys, facetDefIDs, (page-1)*windowSize, windowSize, minPrice, maxPrice);
182
    	this.results = new LinkedHashMap<String, String[]>();
182
    	this.results = new LinkedHashMap<String, String[]>();