On 5-Oct-07, at 3:01 PM, Kyle Banerjee wrote:

If you know at index time that the document is shady, the easiest way
to de-emphasize it globally is to set the document boost to some
value other than one.

<doc boost="0.5">...

I considered that, but assumed we'd get the values wrong at first and
have to do a lot of tinkering before we got it right. Is there a good
way to do this at query time, or do you really need to do this when
loading? It would be feasible to boost at load time, but recovery
times from bad decisions are longer than I was hoping for.

The other option is to use a function query on the value stored in a field (which could represent a range of 'badness'). This can be used directly in the dismax handler using the bf (boost function) query parameter.

-Mike

Reply via email to