Subversion Repositories SmartDukaan

Rev

Rev 16291 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16291 Rev 16292
Line 400... Line 400...
400
		
400
		
401
		
401
		
402
		NodeList nodes = null;
402
		NodeList nodes = null;
403
		try {
403
		try {
404
			nodes = (NodeList) this.xpath.evaluate(resultDocsPath, this.inputSource, XPathConstants.NODESET);
404
			nodes = (NodeList) this.xpath.evaluate(resultDocsPath, this.inputSource, XPathConstants.NODESET);
405
			System.out.println("In nodes");
-
 
406
		}
405
		}
407
		catch (XPathExpressionException xpee) {
406
		catch (XPathExpressionException xpee) {
408
			System.out.println("Exception In nodes");
-
 
409
			xpee.printStackTrace();
407
			xpee.printStackTrace();
410
			return null;
408
			return null;
411
		}
409
		}
412
		
410
		
413
		if(nodes.getLength() == 0) {
411
		if(nodes.getLength() == 0) {
414
			System.out.println("Nodes length is zero");
-
 
415
			return null;
412
			return null;
416
		}
413
		}
417
		
414
		
418
		for(int i=0; i<nodes.getLength(); i++) {
415
		for(int i=0; i<nodes.getLength(); i++) {
419
			Node node = nodes.item(i);
416
			Node node = nodes.item(i);
Line 718... Line 715...
718
    	log.info("entityNames=" + Arrays.toString(entityNames));
715
    	log.info("entityNames=" + Arrays.toString(entityNames));
719
    	search.getFacetMap();
716
    	search.getFacetMap();
720
    	
717
    	
721
    	System.out.println(search.getResultMap());
718
    	System.out.println(search.getResultMap());
722
    	System.out.println(search.getRangeQueryResultMap());
719
    	System.out.println(search.getRangeQueryResultMap());
723
    	search.getPriceStatsMap(new InputSource());
-
 
724
    	System.out.println(search.getTotalResults());
720
    	System.out.println(search.getTotalResults());
725
       	for (int i=0; i<facetDefIDs.length; i++) {
721
       	for (int i=0; i<facetDefIDs.length; i++) {
726
       		search.getFacetCounts(facetDefIDs[i]);
722
       		search.getFacetCounts(facetDefIDs[i]);
727
       		search.getFacetValues(facetDefIDs[i]);
723
       		search.getFacetValues(facetDefIDs[i]);
728
       	}
724
       	}