mirror of https://github.com/apache/lucene.git
SOLR-1815: solrj preserve order of facet queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@922765 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f8fa54f767
commit
3c8644bf24
|
@ -92,6 +92,8 @@ New Features
|
|||
to info currently available from registry.jsp and stats.jsp
|
||||
(ehatcher, hossman)
|
||||
|
||||
* SOLR-1815: SolrJ now preserves the order of facet queries. (yonik)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@ public class QueryResponse extends SolrResponseBase
|
|||
private void extractFacetInfo( NamedList<Object> info )
|
||||
{
|
||||
// Parse the queries
|
||||
_facetQuery = new HashMap<String, Integer>();
|
||||
_facetQuery = new LinkedHashMap<String, Integer>();
|
||||
NamedList<Integer> fq = (NamedList<Integer>) info.get( "facet_queries" );
|
||||
if (fq != null) {
|
||||
for( Map.Entry<String, Integer> entry : fq ) {
|
||||
|
|
Loading…
Reference in New Issue