diff --git a/solr/src/org/ofbiz/solr/SolrUtil.java b/solr/src/org/ofbiz/solr/SolrUtil.java index e0a49e002..d7ec480b4 100644 --- a/solr/src/org/ofbiz/solr/SolrUtil.java +++ b/solr/src/org/ofbiz/solr/SolrUtil.java @@ -130,10 +130,6 @@ public abstract class SolrUtil { List category = UtilGenerics.checkList(context.get("category")); Iterator catIter = category.iterator(); while (catIter.hasNext()) { - /* - * GenericValue cat = (GenericValue) catIter.next(); GenericValue prodCategory = cat.getRelatedOneCache("ProductCategory"); if (prodCategory.get("description") != null) { - * doc1.addField("category", prodCategory.get("description")); } doc1.addField("cat", prodCategory.get("productCategoryId")); - */ String cat = (String) catIter.next(); doc1.addField("cat", cat); } @@ -240,4 +236,4 @@ public abstract class SolrUtil { return result; } -} \ No newline at end of file +}