increase use of pre.defined CATCHALL_QUERY string

This commit is contained in:
reger 2015-10-31 19:44:31 +01:00
parent a58ee49307
commit 11f3666660
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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();