Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ordering of facets #57

Open
gsingers opened this issue Jul 30, 2016 · 1 comment
Open

Support ordering of facets #57

gsingers opened this issue Jul 30, 2016 · 1 comment

Comments

@gsingers
Copy link
Contributor

We should be able to control the order the facets are displayed by first inspecting from the pipeline the desired order and then following back to an order specified in the FUSION_CONFIG.js

@erikhatcher
Copy link

The easiest way (currently) would be to have a Set Params set facet_order=field2,field1,field2... kinda thing, and the UI picks up on that parameter in the Solr request params (in the response header).

However, I'm going to look into integrating my rules work into searchhub, and when that is in, we'll set a fusion/facet_order key in the response (outside the standard Solr response).

Either way, the list will come back in the Fusion response (optionally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants