removed unnecessary check which causes a NPE when searching with empty

search string
pull/1/head
Michael Peter Christen 11 years ago
parent e3c2f09de9
commit c8af19bd37

@ -340,7 +340,6 @@ public final class QueryParams {
if (!getFacets) this.cachedQuery.setFacet(false);
return this.cachedQuery;
}
if (this.queryGoal.getIncludeSize() == 0) return null;
// construct query
final SolrQuery params = getBasicParams(getFacets);
@ -365,7 +364,6 @@ public final class QueryParams {
if (!getFacets) this.cachedQuery.setFacet(false);
return this.cachedQuery;
}
if (this.queryGoal.getIncludeSize() == 0) return null;
// construct query
final SolrQuery params = getBasicParams(getFacets);

Loading…
Cancel
Save