What would be more useful would be randomizing closely related hits.
IE hits within 5% of each other
Sent from my iPhone
On May 1, 2010, at 7:37 AM, Yonik Seeley <yo...@lucidimagination.com>
wrote:
On Sat, May 1, 2010 at 10:23 AM, Blargy <zman...@hotmail.com> wrote:
Can someone explain a useful case for the RandomSortField?
People sometimes have requirements to show different results to
everyone (essentially randomly shuffling matches per person).
-Yonik
Apache Lucene Eurocon 2010
18-21 May 2010 | Prague
<!-- The "RandomSortField" is not used to store or search any
data. You can declare fields of this type it in your schema
to generate pseudo-random orderings of your docs for sorting
purposes. The ordering is generated based on the field name
and the version of the index, As long as the index version
remains unchanged, and the same field name is reused,
the ordering of the docs will be consistent.
If you want different psuedo-random orderings of documents,
for the same version of the index, use a dynamicField and
change the name
-->
<fieldType name="random" class="solr.RandomSortField"
indexed="true" />