Using relevance scores for pseudo-random-probabilistic ordenation
Hi,
I've just implemented my PseudoRandomFieldComparator (migrated from PseudoRandomComparatorSource). The problem that I see is that I don't have acces to the relevance's scores like in the deprecated class ComparatorSource. I'm trying to fill the scores from my PseudoRandomComponent (in the process() method).
I don't know if use a PseudoRandomComparator that extends from QueryComponent and then repeat the query or sth similar like reorder my doclist, or if use two diferent components QueryComponent and PseudoRandomComponent (extending from SearchComponent) and look for a good combination.
How can I have my relevance scores on my PseudoRandomFieldComparator? Any ideas?
Regards,
Raimon Bosch.