Subversion Repositories SmartDukaan

Rev

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

Rev 36222 Rev 36223
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
            }
-
 
561
            catalogSolrObjs.add(catalogSolrObj);
558
            catalogSolrObjs.add(catalogSolrObj);
562
        }
559
        }
563
 
560
 
564
        String solrPath = "http://" + solrUrl + ":8984/solr/demo";
561
        String solrPath = "http://" + solrUrl + ":8984/solr/demo";
565
        SolrClient solr = new HttpSolrClient.Builder(solrPath).build();
562
        SolrClient solr = new HttpSolrClient.Builder(solrPath).build();