mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
increase use of pre.defined CATCHALL_QUERY string
This commit is contained in:
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…
Reference in New Issue
Block a user