increase use of pre.defined CATCHALL_QUERY string

pull/23/head
reger 9 years ago
parent a58ee49307
commit 11f3666660

@ -649,7 +649,7 @@ public final class Fulltext {
// format: 0=text, 1=html, 2=rss/xml
this.f = f;
this.pattern = filter == null ? null : Pattern.compile(filter);
this.query = query == null? "*:*" : query;
this.query = query == null? AbstractSolrConnector.CATCHALL_QUERY : query;
this.count = 0;
this.failure = null;
this.format = format;

@ -356,7 +356,7 @@ public class QueryGoal {
public StringBuilder collectionTextQuery() {
// parse special requests
if (isCatchall()) return new StringBuilder("*:*");
if (isCatchall()) return new StringBuilder(AbstractSolrConnector.CATCHALL_QUERY);
// add goal query
return getGoalQuery();
@ -389,7 +389,7 @@ public class QueryGoal {
final StringBuilder q = new StringBuilder(80);
// parse special requests
if (isCatchall()) return new StringBuilder("*:*");
if (isCatchall()) return new StringBuilder(AbstractSolrConnector.CATCHALL_QUERY);
// add goal query
StringBuilder w = getGoalQuery();

Loading…
Cancel
Save