: We have a listing aggregator that gets product listings from a lot of
: different sites and since they are added in batches, sometimes you see a
: lot of pages from the same source (site). We are working on some changes to
: shift things around and reduce this "blocking" effect, so we can present
: mixed sources on the result pages.

if the problem you are seeing is strings of docs all i na clump because 
they have the same *score* then just add a secondary sort on your random 
field - in the example you posted, you completley replace the sort by 
score with sort by random...

        sort = score desc, random_1 desc

but that will only help differentiate when the scores are identical.

alternatively: you could probably use a random field in your baising 
function, although you should probably use something like the "map" or 
"scale" functions to keep it from having too much of a profound impact on 
the final score.

maybe something like...

q={!boost 
b=product(scale(random_1,1,5),recip(ms(NOW/HOUR,date_updated),3.16e-11,1,1))}
  active:true AND featured:false +_val_:haspicture

-Hoss

Reply via email to