Subversion Repositories SmartDukaan

Rev

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

Rev 35797 Rev 36222
Line 553... Line 553...
553
            if(eolSet.contains(catalogId)){
553
            if(eolSet.contains(catalogId)){
554
                catalogSolrObj.setField("eol_no_stock_b", true);
554
                catalogSolrObj.setField("eol_no_stock_b", true);
555
            }else {
555
            }else {
556
                catalogSolrObj.setField("eol_no_stock_b", false);
556
                catalogSolrObj.setField("eol_no_stock_b", false);
557
            }
557
            }
-
 
558
            if (catalogId == 1025737) {
-
 
559
                catalogSolrObj.setField("eol_no_stock_b", false);
-
 
560
            }
558
            catalogSolrObjs.add(catalogSolrObj);
561
            catalogSolrObjs.add(catalogSolrObj);
559
        }
562
        }
560
 
563
 
561
        String solrPath = "http://" + solrUrl + ":8984/solr/demo";
564
        String solrPath = "http://" + solrUrl + ":8984/solr/demo";
562
        SolrClient solr = new HttpSolrClient.Builder(solrPath).build();
565
        SolrClient solr = new HttpSolrClient.Builder(solrPath).build();