mirror of https://github.com/apache/lucene.git
SOLR-7005: don't add facet.heatmap.format=png to shard requests unless heatmaps are in use
Not a bug; just a small cleanup. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659872 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
02a391b284
commit
59769898df
|
@ -287,11 +287,9 @@ public class SpatialHeatmapFacets {
|
|||
sreq.params.set("f." + key + "." + pname, pval);
|
||||
}
|
||||
}
|
||||
// Remove existing format specifier
|
||||
sreq.params.remove("f." + key + "." + FacetParams.FACET_HEATMAP_FORMAT);
|
||||
// Set format to PNG; it's the only one we parse
|
||||
sreq.params.set("f." + key + "." + FacetParams.FACET_HEATMAP_FORMAT, FORMAT_PNG);
|
||||
}
|
||||
// Set format to PNG (applies to all heatmaps)
|
||||
sreq.params.set(FacetParams.FACET_HEATMAP_FORMAT, FORMAT_PNG);
|
||||
}
|
||||
|
||||
/** Called by FacetComponent.countFacets which is in turn called by FC's impl of
|
||||
|
|
Loading…
Reference in New Issue