Subversion Repositories SmartDukaan

Rev

Rev 25013 | Rev 25015 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25013 Rev 25014
Line 448... Line 448...
448
		Map<String, String> params = new HashMap<>();
448
		Map<String, String> params = new HashMap<>();
449
		params.put("q", "categoryId_i:6");
449
		params.put("q", "categoryId_i:6");
450
		params.put("group", "true");
450
		params.put("group", "true");
451
		params.put("group.field", "subCategoryId_i");
451
		params.put("group.field", "subCategoryId_i");
452
		params.put("wt", "json");
452
		params.put("wt", "json");
-
 
453
		params.put("fl", "subCategoryId_i");
453
		String response = null;
454
		String response = null;
454
		try {
455
		try {
455
			response = rc.get(SchemeType.HTTP, "dtr", 8984, "solr/demo/select", params);
456
			response = rc.get(SchemeType.HTTP, "dtr", 8984, "solr/demo/select", params);
456
		} catch (HttpHostConnectException e) {
457
		} catch (HttpHostConnectException e) {
457
			throw new ProfitMandiBusinessException("", "", "Could not connect to host");
458
			throw new ProfitMandiBusinessException("", "", "Could not connect to host");