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 Benjamin Sznajder <be...@il.ibm.com> on 2008/01/16 10:50:10 UTC

Changing the Score of a Document.

Hi

I am sure that this topic has been once discusses on this forum, so, sorry
to ask again!

Let's suppose a Document d1 containing the five terms:
a
b
C
D


and a query (a AND b).

The document d1 is relevant and will be retrieved and typically, its score
will be a function tf*idf relative to the terms 'a' and 'b'.

I am interesting to score the document *not* according a and b, but
according the terms C and D.
How can we do that?

Thanks
Benjamin


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


Re: Changing the Score of a Document.

Posted by Chris Hostetter <ho...@fucit.org>.
: In-Reply-To: <29...@mail.gmail.com>
: Subject: Changing the Score of a Document.

http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists

When starting a new discussion on a mailing list, please do not reply to 
an existing message, instead start a fresh email.  Even if you change the 
subject line of your email, other mail headers still track which thread 
you replied to and your question is "hidden" in that thread and gets less 
attention.   It makes following discussions in the mailing list archives 
particularly difficult.
See Also:  http://en.wikipedia.org/wiki/Thread_hijacking





-Hoss


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