extended limitation of dom export size from 100000 to 100000000

pull/1/head
Michael Peter Christen 12 years ago
parent fc2095ac67
commit d937c55204

@ -854,7 +854,7 @@ public final class Fulltext {
this.failure = null; this.failure = null;
this.format = format; this.format = format;
this.dom = dom; this.dom = dom;
if ((dom) && (format == 2)) dom = false; //if ((dom) && (format == 2)) dom = false;
} }
@Override @Override
@ -878,7 +878,7 @@ public final class Fulltext {
if (this.dom) { if (this.dom) {
Map<String, ReversibleScoreMap<String>> scores = Fulltext.this.getDefaultConnector().getFacets(CollectionSchema.httpstatus_i.getSolrFieldName() + ":200", 100000, CollectionSchema.host_s.getSolrFieldName()); Map<String, ReversibleScoreMap<String>> scores = Fulltext.this.getDefaultConnector().getFacets(CollectionSchema.httpstatus_i.getSolrFieldName() + ":200", 100000000, CollectionSchema.host_s.getSolrFieldName());
ReversibleScoreMap<String> stats = scores.get(CollectionSchema.host_s.getSolrFieldName()); ReversibleScoreMap<String> stats = scores.get(CollectionSchema.host_s.getSolrFieldName());
for (final String host: stats) { for (final String host: stats) {
if (this.pattern != null && !this.pattern.matcher(host).matches()) continue; if (this.pattern != null && !this.pattern.matcher(host).matches()) continue;

Loading…
Cancel
Save