Skip to content

Commit

Permalink
Increasing search performance by changing q=* to q=*:* (search all do…
Browse files Browse the repository at this point in the history
…cuments only)
  • Loading branch information
soay committed Dec 18, 2014
1 parent 82e0287 commit 56c9905
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public String buildSelectQueryString() throws MalformedURLException, Unsupported
}

// if no text constraint -> use '*'
if (qs.isEmpty()) qs.add(URLEncoder.encode("*", "UTF-8"));
if (qs.isEmpty()) qs.add(URLEncoder.encode("*:*", "UTF-8"));

// &facet.field=...&facet.field=...
if (this.facets!=null) {
Expand Down

0 comments on commit 56c9905

Please sign in to comment.