[TYPO3-Solr] Show search result grouped by facet

Peter Kraume usenet at kraume.de
Mon Nov 14 18:11:33 CET 2011


Am 14.11.2011 15:43, schrieb Ingo Renner:
>>> 2) sort by type
>>>
>> I haven't found a way to set default sorting to type via TS. As a
>> workaround I've added a hidden field tx_solr[sort]=type asc to the
>> search form. Is there a better solution?
>
> Not through TS I think, but through the plugin.
>

Hi Ingo,

as far as I've seen there is no interface to modify the sorting in 
class.tx_solr_pi_results.php => initializeSearch()
Please correct me if I'm wrong.

My second question is how to limit the results per facet option. The 
result should look like this:

[Facet option 1]
- result 1
- result 2
- result 3
Button: show more from option 1

[Facet option 2]
- result 1
- result 2
- result 3
Button: show more from option 2

Is this possible with the current result plugin and interfaces or do I 
have to write my own plugin?

Thx
Peter


More information about the TYPO3-project-solr mailing list