Lewin Joy created SOLR-7252:
-------------------------------
Summary: Need to sort the facet field values for a particular
field in my custom order
Key: SOLR-7252
URL: https://issues.apache.org/jira/browse/SOLR-7252
Project: Solr
Issue Type: Improvement
Reporter: Lewin Joy
Hi,
I have a requirement where a list of values from a facet field needs to be
ordered on custom values. The only option i found was to order by the count for
that facet field.
I need something like this:
Facet: Brand
Nike (21)
Reebok (100)
asics (45)
Fila (84)
Notice that the facet values are not sorted by count. But instead, sorted by my
custom sorting requirement.
We want this sorting done in the solr layer rather than the Front end as the
requirement keeps changing and we don't want to hard code this sorting in front
end.
Please help. Is this possible to do?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]