SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2015-04-22 04:25:13 +00:00
parent f8025175d5
commit 3c1c7279dc
2 changed files with 6 additions and 2 deletions

View File

@ -150,6 +150,9 @@ Bug Fixes
* SOLR-7443: Implemented range faceting over date fields in the new facet module
(JSON Facet API). (yonik)
* SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements.
(shalin)
Optimizations
----------------------

View File

@ -101,7 +101,6 @@ public class SolrPluginUtils {
static {
Map<Integer, String> map = new TreeMap<>();
map.put(ShardRequest.PURPOSE_PRIVATE, "PRIVATE");
map.put(ShardRequest.PURPOSE_GET_TERM_STATS, "GET_TERM_STATS");
map.put(ShardRequest.PURPOSE_GET_TOP_IDS, "GET_TOP_IDS");
map.put(ShardRequest.PURPOSE_REFINE_TOP_IDS, "REFINE_TOP_IDS");
map.put(ShardRequest.PURPOSE_GET_FACETS, "GET_FACETS");
@ -113,7 +112,9 @@ public class SolrPluginUtils {
map.put(ShardRequest.PURPOSE_GET_TERMS, "GET_TERMS");
map.put(ShardRequest.PURPOSE_GET_TOP_GROUPS, "GET_TOP_GROUPS");
map.put(ShardRequest.PURPOSE_GET_MLT_RESULTS, "GET_MLT_RESULTS");
map.put(ShardRequest.PURPOSE_REFINE_PIVOT_FACETS, "REFINE_PIVOT_FACETS");
map.put(ShardRequest.PURPOSE_SET_TERM_STATS, "SET_TERM_STATS");
map.put(ShardRequest.PURPOSE_GET_TERM_STATS, "GET_TERM_STATS");
purposes = Collections.unmodifiableMap(map);
}