Permalink
Browse files

Merge pull request #28 from dbuthay/len_end

renaming end -> len, to match service API
  • Loading branch information...
2 parents 14930c8 + 5f3db0e commit 4ce5f28cfb06b644f75de5651078fb35ec33b759 @iladriano iladriano committed Feb 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 embedded-api/com/flaptor/indextank/api/resources/Search.java
@@ -62,7 +62,7 @@ public void run() {
String fetch = params("fetch");
String snippet = params("snippet");
int start = QueryHelper.parseIntParam(params("start"), 0);
- int len = QueryHelper.parseIntParam(params("end"), 10);
+ int len = QueryHelper.parseIntParam(params("len"), 10);
int function = QueryHelper.parseIntParam(params("function"), 0);
Map<Integer, Double> vars = Maps.newHashMap();
List<CategoryFilter> facetFilters = Lists.newArrayList();

0 comments on commit 4ce5f28

Please sign in to comment.