[jira] [Commented] (SOLR-7252) Need to sort the facet field values for a particular field in my custom order

2016-10-20 Thread David Smiley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15591830#comment-15591830
 ] 

David Smiley commented on SOLR-7252:


Solr's EnumField can address this requirement as-stated.  The limitation is 
that you have to know up-front what the values are and the order -- this 
explicitly goes in the Solr config.  It's not dynamic.  If you modify it, you 
have to re-index.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-7252) Need to sort the facet field values for a particular field in my custom order

2016-10-19 Thread Luke P Warwick (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15589752#comment-15589752
 ] 

Luke P Warwick commented on SOLR-7252:
--

It is possible. We use a 3rd party tool called FindTuner, made by Innovent 
Solutions to reorder facet values.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org