Skip to content
Browse files

Use numFacets

  • Loading branch information...
1 parent 503e2a8 commit 9c4cc496768037820693f5b75e6e04779586e28b @mshafrir committed Jun 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/main/java/com/marketbrief/searchify/apiclient/SearchifyClient.java
View
5 src/main/java/com/marketbrief/searchify/apiclient/SearchifyClient.java
@@ -496,6 +496,11 @@ ParameterMap toParameterMap() {
if (categoryFilters != null)
params.put("category_filters",
JSONObject.toJSONString(categoryFilters));
+
+ // New feature on Searchify
+ if (numFacets != null) {
+ params.put("numfacets", numFacets.toString());
+ }
if (documentVariableFilters != null) {
for (Range range : documentVariableFilters) {

0 comments on commit 9c4cc49

Please sign in to comment.
Something went wrong with that request. Please try again.