On Apr 14, 2005, at 4:32 PM, Martin May wrote:

I've got the book (which is great, btw). I used Luke to get explanations
of the results, but I don't see any boosts in the explanations.

The index-time boosts are folded into the field normalization factor, so you won't see boost by itself. That field normalization factor also takes other things into account like how long the field is - so your boost may be overwhelmed by some other factors.


A simple detailed example would be helpful.

        Erik



Martin

On Thu, 2005-04-14 at 13:24 -0700, Otis Gospodnetic wrote:
I'd look a the output of Explain to see how ranking score is calculated

Look at this: http://lucenebook.com/search?query=explain (hit #1 is
from a free chapter)

Otis


--- Martin May <[EMAIL PROTECTED]> wrote:

I have a bunch of documents in my index, some of which have values for a certain field while others don't. I'd like the ones that do have a value to always show up before the ones who don't when sorting by relevance.

I tried to accomplish this by check whether there are values for the
field, and if so boosting the document by 5000. However, it doesn't
seem
to have the desired effect.

Any ideas?

Thanks,
Martin


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to