Subversion Repositories SmartDukaan

Rev

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

Rev 31584 Rev 31596
Line 574... Line 574...
574
			String limit) throws Exception {
574
			String limit) throws Exception {
575
 
575
 
576
		RestClient rc = new RestClient();
576
		RestClient rc = new RestClient();
577
		Map<String, String> params = new HashMap<>();
577
		Map<String, String> params = new HashMap<>();
578
		List<String> mandatoryQ = new ArrayList<>();
578
		List<String> mandatoryQ = new ArrayList<>();
579
 
-
 
-
 
579
		mandatoryQ.add("show_default_b:true");
580
		if (webListing.getType().equals(WebListingType.solr)) {
580
		if (webListing.getType().equals(WebListingType.solr)) {
581
			logger.info("solrtype {}", webListing.getSolrQuery());
581
			logger.info("solrtype {}", webListing.getSolrQuery());
582
			mandatoryQ.add(String.format("+{!parent which=\"" + webListing.getSolrQuery() + "\"} AND active_b:true"));
582
			mandatoryQ.add(String.format("+{!parent which=\"" + webListing.getSolrQuery() + "\"} AND active_b:true"));
583
 
583
 
584
		} else {
584
		} else {