Re: Solr facet order same as result set

2020-04-20 Thread Chris Hostetter
ml#child-childdoctransformerfactory https://lucene.apache.org/solr/guide/8_5/transforming-result-documents.html#subquery : Date: Mon, 20 Apr 2020 04:37:06 -0700 (MST) : From: Venu : Reply-To: solr-user@lucene.apache.org : To: solr-user@lucene.apache.org : Subject: Re: Solr facet order same as

Re: Solr facet order same as result set

2020-04-20 Thread Venu
Probably I haven't framed my question properly. Consider the schema with the fields - id, sku, fc_id, group_id The same SKU can be part of multiple documents with different fc_id and group_id. For a given search query, multiple documents having the same SKU will be returned. Is there any way I ca

Re: Solr facet order same as result set

2020-04-20 Thread Erick Erickson
I have no idea what “getting the facets in the same order as the sort docs” would mean. Even in the single-valued case, say idrankvalue_in_facet_field doc1 1 32 doc2 2 76 doc3 33 doc4 4 76 How would facets be or

Solr facet order same as result set

2020-04-20 Thread Venu
Hi For a given query and sort order, Solr returns the results(ordered based on score and sort order) set along with facets(ordered in descending order of buckets counts) Is there any way to get the facets also in the same order as results/docs? I tried with json facet, but I am not able to make it