[TYPO3-Solr] Different sorting for initial empty query

Albert van der Veen albert.van.der.veen at xs4all.nl
Wed Apr 17 15:21:41 CEST 2013


Hi all,

I would like to sort the initial empty query on title, so you get a nice 
alphabetical list of all available items. But a search should give the 
results bij relevance ofcourse.

Using the TS setting search.query.sortBy = title doesn't give the 
desired result. It sorts the initial list fine, but a search then also 
lists the result alphabetical. So searching for an item which has '42.1' 
in a field, doesn't present this as first item in the list, but presents 
it a couple of pages later.
Using search.query.sortBy = relevance is needed for that, but obviously 
doesn't sort the initial list alphabetical.

Am I missing an option? Suggestions much appreciated :)

best,
Albert


More information about the TYPO3-project-solr mailing list