Hi all,

we would like to add a custom sorting for facets in addition to the existing 'index' and 'count' that can be passed by a new value for the facet.sort parameter. The aim is to achieve a prefix based sorting for all the terms of a complex field with entries of the form AAAA / BBBB / CCCC and sorting can be triggered by specifying something like facet.sort=mysortorder. We added a new searchComponent in solrconfig.xml that overrides the default "facet" component and currently use a skeleton FacetComponent in a different namespace. Is there a clean way to access and extend the dependencies the default FacetComponent uses - especially extending the FacetParam class by a new value FACET_SORT_MYSORTORDER - without having to touch the orginal Solr code?

Thanks a lot for your information, best regards

Johannes

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to