Re: Storing RandomSortField

2010-05-19 Thread Marco Martinez
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:

Re: Storing RandomSortField

2010-05-19 Thread Leonardo Menezes
Hey, for random sorting, random values are generated in runtime using the seed you passed as one of the parameters to generate the value, among other things. this way, if the value you use as seed is the same in different request, the sorting order should be the same. you could also, for

Re: Storing RandomSortField

2010-05-19 Thread Alexandre Rocco
Leonardo, I was able to use the feature with a dynamic field as pointed in the documentation. So, I was just curious to take a peek at the values that are generated, even when the field is not dynamic, so I tried to figure out a way to do so. Maybe some output when the debug query is enabled

Storing RandomSortField

2010-05-18 Thread Alexandre Rocco
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