Hi Alexandre, I am not totally sure about this, but the random sort field its only used to do a random sort on your searchs, and you will to pass differents values to have differents sorts, so this only applies in the searchs, so no value is indexed. You will find more information here: http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/18 Alexandre Rocco <alel...@gmail.com> > Hi guys, > > Is there any way to mak a RandomSortField be stored? > I'm trying to do it for debugging purposes, > My intention is to take a look at the values that are stored there to > determine the sorting that is being applied to the results. > > I tried to make it a stored field as: > <field name="randomorder" type="random" stored="true" /> > > And also tried to create another text field, copying the result from the > random field like this: > <field name="randomorderdebug" type="text" indexed="true" stored="true"/> > <copyField source="randomorder" dest="randomorderdebug"/> > > Neither of the approaches worked. > Is there any restriction on this kind of field that prevents it from being > displayed in the results? > > Thanks, > Alexandre >