Subversion Repositories SmartDukaan

Rev

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

Rev 31714 Rev 33573
Line 100... Line 100...
100
		return documentMap;
100
		return documentMap;
101
	}
101
	}
102
 
102
 
103
	// This method is the used to pull docs based on search and shall be used
103
	// This method is the used to pull docs based on search and shall be used
104
	// interchangably for both the things
104
	// interchangably for both the things
105
	public JSONArray getSolrDocs(String queryTerm, String categoryId, String offset, String limit, String sort,
105
	public JSONArray getSolrDocs(String queryTerm, String categoryId, int offset, int limit, String sort,
106
			String brand, int subCategoryId, boolean hotDeal) throws Throwable {
106
			String brand, int subCategoryId, boolean hotDeal) throws Throwable {
107
		List<String> parentFilter = new ArrayList<>();
107
		List<String> parentFilter = new ArrayList<>();
108
		parentFilter.add("categoryId_i:" + categoryId);
108
		parentFilter.add("categoryId_i:" + categoryId);
109
		parentFilter.add("show_default_b:true");
109
		parentFilter.add("show_default_b:true");
110
		List<String> childFilter = new ArrayList<>();
110
		List<String> childFilter = new ArrayList<>();