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 Eric Jain <Er...@isb-sib.ch> on 2002/11/11 11:33:41 UTC

Boost documents

Is there any way (or workaround) to boost the scores for certain documents?

My problem is as follows:

The documents I am indexing may contain a number of literature references,
the more the better. Unfortunately the scoring algorithm ranks documents
with a lot of references in their body lower, all else being equal.

On addition, there are two types of documents, automatically generated and
manually edited, latter being of higher quality.

The most convenient solution would be if Lucene Documents had a single
numeric boost factor field, but maybe there are other ways to achieve such
an effect?


--
Eric Jain


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Boost documents

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Look at CHANGES.txt file that comes with Lucene.  This feature already
exists, but is not in a 1.2 release, so you will have to get a nightly
build.

Otis


--- Eric Jain <Er...@isb-sib.ch> wrote:
> Is there any way (or workaround) to boost the scores for certain
> documents?
> 
> My problem is as follows:
> 
> The documents I am indexing may contain a number of literature
> references,
> the more the better. Unfortunately the scoring algorithm ranks
> documents
> with a lot of references in their body lower, all else being equal.
> 
> On addition, there are two types of documents, automatically
> generated and
> manually edited, latter being of higher quality.
> 
> The most convenient solution would be if Lucene Documents had a
> single
> numeric boost factor field, but maybe there are other ways to achieve
> such
> an effect?
> 
> 
> --
> Eric Jain
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>