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

Re: Facet Order when the count is the same

2012-07-03 Thread maurizio1976
I found it, the default order is by ASCII code (which is not alphabetical order). -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-Order-when-the-count-is-the-same-tp3992471p3992734.html Sent from the Solr - User mailing list archive at Nabble.com.

Facet Order when the count is the same

2012-07-02 Thread maurizio1976
Hi, does anybody knows if there is a rule around the ordering of what's returned by a facet if the counts are all the same? Is that ordered by time of indexation of the doc in Solr? cheers Maurizio -- View this message in context: http://lucene.472066.n3.nabble.com/Facet-Order-when-the-cou

Re: facet order

2010-05-29 Thread Chris Hostetter
: i am using multiple facet fields. so i want to have the field with the : most items first. the facet fields are returned i nthe order they were requested in the params -- reordering them in the client is trivial, so setting up special commands to re-order them on the server side isn't somethi

Re: facet order

2010-05-29 Thread search
oh yes thats correct, but that orders the items inside a facet. i am using multiple facet fields. so i want to have the field with the most items first. thanks. > use: facet.sort=true > > > http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort > > > On Sat, May 29, 2010 at 3:53 PM, wrote

Re: facet order

2010-05-29 Thread Furkan Kuru
use: facet.sort=true http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort On Sat, May 29, 2010 at 3:53 PM, wrote: > Hi, > > how can i configuratively order facets according to total count of facet > fields? > > for example - facets with the highest count be on top. > > facet1 [0] > ab

facet order

2010-05-29 Thread search
Hi, how can i configuratively order facets according to total count of facet fields? for example - facets with the highest count be on top. facet1 [0] abc (20) def (18) ghi (16) facet2 [1] jkl (10) mno (9) pqr (2) thanks dev.