lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Boosting not working?
Date Thu, 14 Apr 2005 20:24:36 GMT
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 <maym@foobar.lu> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message