[TYPO3-Solr] Random sorting

Rik Willems rik at metmeer.nl
Tue May 21 12:05:25 CEST 2013


Op 21-05-13 11:21, Jigal van Hemert schreef:

> In the documentation of Dynamic Fields [1] you can find how to set up a
> random field.
> After that it would be just a matter to use that field as sorting field
> [2].
>
> Of course you need to re-index before the field can be used.
>
> [1] http://forge.typo3.org/projects/extension-solr/wiki/Dynamic_Fields
> [2]
> http://forge.typo3.org/projects/extension-solr/wiki/Tx_solrsearch#querysortBy
>

Thank you for pointing me here. As soon as I add the following to the 
fields section of the table configuration my Solr search gives an error 
that it cannot work.

pages {
	fields {
	        test_random = TEXT
         	test_random.value = test
         }
}

Any thoughts on how to implement this?

Cheers! Rik




More information about the TYPO3-project-solr mailing list