fix QueryGoal Image query (missing space)

see query log example .. url_file_ext_s:(jpg OR png OR gif) ORcontent_type:(image/*)) ..
pull/1/head
reger 11 years ago
parent 2861183359
commit abbf487023

@ -345,7 +345,7 @@ public class QueryGoal {
// add filter to prevent that results come from failed urls
q.append(CollectionSchema.httpstatus_i.getSolrFieldName()).append(":200").append(" AND (");
q.append(CollectionSchema.images_urlstub_sxt.getSolrFieldName()).append(":[* TO *] OR ");
q.append(CollectionSchema.url_file_ext_s.getSolrFieldName()).append(":(jpg OR png OR gif) OR");
q.append(CollectionSchema.url_file_ext_s.getSolrFieldName()).append(":(jpg OR png OR gif) OR ");
q.append(CollectionSchema.content_type.getSolrFieldName()).append(":(image/*))");
// parse special requests

Loading…
Cancel
Save