Subversion Repositories SmartDukaan

Rev

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

Rev 24971 Rev 24972
Line 196... Line 196...
196
			List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
196
			List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
197
			RestClient rc = new RestClient();
197
			RestClient rc = new RestClient();
198
			Map<String, String> params = new HashMap<>();
198
			Map<String, String> params = new HashMap<>();
199
			List<String> mandatoryQ = new ArrayList<>();
199
			List<String> mandatoryQ = new ArrayList<>();
200
			if (queryTerm != null) {
200
			if (queryTerm != null) {
201
				mandatoryQ.add(String.format("+(%s)", queryTerm));
201
				mandatoryQ.add(String.format("+(%s) ", queryTerm));
202
			}
202
			}
203
			if (brand != null) {
203
			if (brand != null) {
204
 
204
 
205
				mandatoryQ.add(
205
				mandatoryQ.add(
206
						String.format("+(categoryId_i:%s) +(brand_ss:%s) +{!parent which=\"brand_ss:%s\"} tagId_i:(%s)",
206
						String.format("+(categoryId_i:%s) +(brand_ss:%s) +{!parent which=\"brand_ss:%s\"} tagId_i:(%s)",