Subversion Repositories SmartDukaan

Rev

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

Rev 31615 Rev 31616
Line 449... Line 449...
449
			catalogSolrObj.setField("id", "catalog" + catalogId);
449
			catalogSolrObj.setField("id", "catalog" + catalogId);
450
			catalogSolrObj.setField("rank_i", catalogValMap.get("rank"));
450
			catalogSolrObj.setField("rank_i", catalogValMap.get("rank"));
451
			catalogSolrObj.setField("title_s", catalogValMap.get("title"));
451
			catalogSolrObj.setField("title_s", catalogValMap.get("title"));
452
			// catalogSolrObj.setField("_childDocuments_", itemObjs);
452
			// catalogSolrObj.setField("_childDocuments_", itemObjs);
453
			catalogSolrObj.addChildDocuments(itemObjs);
453
			catalogSolrObj.addChildDocuments(itemObjs);
454
			if (itemObjs != null) {
-
 
455
				catalogSolrObj.setField("child_b", itemObjs.size() > 0);
454
			catalogSolrObj.setField("child_b", itemObjs.size() > 0);
456
			} else {
-
 
457
				catalogSolrObj.setField("child_b",false);
-
 
458
 
-
 
459
			}
-
 
460
			catalogSolrObj.setField("catalogId_i", catalogId);
455
			catalogSolrObj.setField("catalogId_i", catalogId);
461
			catalogSolrObj.setField("imageUrl_s",
456
			catalogSolrObj.setField("imageUrl_s",
462
					catalogValMap.get("imageUrl").toString().replace("saholic", "smartdukaan"));
457
					catalogValMap.get("imageUrl").toString().replace("saholic", "smartdukaan"));
463
			catalogSolrObj.setField("feature_s", catalogValMap.get("feature"));
458
			catalogSolrObj.setField("feature_s", catalogValMap.get("feature"));
464
			catalogSolrObj.setField("brand_ss", catalogValMap.get("brand"));
459
			catalogSolrObj.setField("brand_ss", catalogValMap.get("brand"));