[TYPO3-Solr] Sort by type as default search

Ingo Renner ingo at typo3.org
Mon Jan 23 18:12:46 CET 2012


Am 10.11.11 18:36, schrieb Peter Kraume:

Hi Peter,

sorry for the late response

> To use the markResultTypeBoundaries feature to have search results
> grouped, I need to have the result to be sorted by type
> 
> I now want to sort my result by type as default. But there is no way to
> set this as far as I've seen. Do I really have to write a query modifier
> to achive this?

this should help:

plugin.tx_solr.search.query.sortBy = type asc/desc

You can also set sortBy in the plugin flexform

best
Ingo


-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list