You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Dan Armbrust <da...@gmail.com> on 2005/08/08 22:05:46 UTC

Lucene score algorithm details?

I know there used to be a webpage that gave the algorithm used by Lucene 
for scoring, along with some info on what each variable controlled, to 
some extent... I was looking to brush up on what the idf controls (and 
what will happen if I override it) but I can't seem to find that page 
any longer...

Can someone point me to it?

Thanks,

Dan

-- 
****************************
Daniel Armbrust
Biomedical Informatics
Mayo Clinic Rochester
daniel.armbrust(at)mayo.edu
http://informatics.mayo.edu/


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


Re: Lucene score algorithm details?

Posted by Chris Lu <ch...@gmail.com>.
Document boost is distributed to each field when creating the index.

It is not stored anywhere. So it's not in the equation to calculate score.

-- 
Chris Lu
------------
Lucene Search RAD on Any Database
http://www.dbsight.net 

On 8/8/05, Andrew Hudson <an...@gmail.com> wrote:
> Is the docboost being used in scoring currently?  I haven't been able
> to see a clear connection between it and the score that lucene
> calculates both empirically and in the scoring code itself.
> 
> Andrew
> 
> On 8/8/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> > It's in the Javadoc for Similarity class.
> > You can use that along with Explanation (class) to get a good picture
> > of what's going on with scoring.
> >
> > Otis
> >
> >
> > --- Dan Armbrust <da...@gmail.com> wrote:
> >
> > > I know there used to be a webpage that gave the algorithm used by
> > > Lucene
> > > for scoring, along with some info on what each variable controlled,
> > > to
> > > some extent... I was looking to brush up on what the idf controls
> > > (and
> > > what will happen if I override it) but I can't seem to find that page
> > >
> > > any longer...
> > >
> > > Can someone point me to it?
> > >
> > > Thanks,
> > >
> > > Dan
> > >
> > > --
> > > ****************************
> > > Daniel Armbrust
> > > Biomedical Informatics
> > > Mayo Clinic Rochester
> > > daniel.armbrust(at)mayo.edu
> > > http://informatics.mayo.edu/
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
> 
> ---------------------------------------------------------------------
> 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


Re: Lucene score algorithm details?

Posted by Andrew Hudson <an...@gmail.com>.
Is the docboost being used in scoring currently?  I haven't been able
to see a clear connection between it and the score that lucene
calculates both empirically and in the scoring code itself.

Andrew

On 8/8/05, Otis Gospodnetic <ot...@yahoo.com> wrote:
> It's in the Javadoc for Similarity class.
> You can use that along with Explanation (class) to get a good picture
> of what's going on with scoring.
> 
> Otis
> 
> 
> --- Dan Armbrust <da...@gmail.com> wrote:
> 
> > I know there used to be a webpage that gave the algorithm used by
> > Lucene
> > for scoring, along with some info on what each variable controlled,
> > to
> > some extent... I was looking to brush up on what the idf controls
> > (and
> > what will happen if I override it) but I can't seem to find that page
> >
> > any longer...
> >
> > Can someone point me to it?
> >
> > Thanks,
> >
> > Dan
> >
> > --
> > ****************************
> > Daniel Armbrust
> > Biomedical Informatics
> > Mayo Clinic Rochester
> > daniel.armbrust(at)mayo.edu
> > http://informatics.mayo.edu/
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 
>

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


Re: Lucene score algorithm details?

Posted by Otis Gospodnetic <ot...@yahoo.com>.
It's in the Javadoc for Similarity class.
You can use that along with Explanation (class) to get a good picture
of what's going on with scoring.

Otis


--- Dan Armbrust <da...@gmail.com> wrote:

> I know there used to be a webpage that gave the algorithm used by
> Lucene 
> for scoring, along with some info on what each variable controlled,
> to 
> some extent... I was looking to brush up on what the idf controls
> (and 
> what will happen if I override it) but I can't seem to find that page
> 
> any longer...
> 
> Can someone point me to it?
> 
> Thanks,
> 
> Dan
> 
> -- 
> ****************************
> Daniel Armbrust
> Biomedical Informatics
> Mayo Clinic Rochester
> daniel.armbrust(at)mayo.edu
> http://informatics.mayo.edu/
> 
> 
> ---------------------------------------------------------------------
> 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