You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by sumittyagi <pi...@gmail.com> on 2008/03/05 22:07:59 UTC
changing scoring formula
is there any way to change the score of the documents.
Actually i want to modify the scores of the documents dynamically, everytime
for a given query the results will be sorted according to "lucene scoring
formula + an equation".
how can i do that...i saw that lucene scoring page but i am not getting
exactly how to do that...
please advice me
--
View this message in context: http://www.nabble.com/changing-scoring-formula-tp15860296p15860296.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: changing scoring formula
Posted by Grant Ingersoll <gs...@apache.org>.
Perhaps the Function query package can help? Otherwise, you can look
at things like boosts, similarity overrides and even payloads.
Additionally, you can look at implementing your own Query/Scorer
combination.
-Grant
On Mar 5, 2008, at 4:07 PM, sumittyagi wrote:
>
> is there any way to change the score of the documents.
> Actually i want to modify the scores of the documents dynamically,
> everytime
> for a given query the results will be sorted according to "lucene
> scoring
> formula + an equation".
> how can i do that...i saw that lucene scoring page but i am not
> getting
> exactly how to do that...
> please advice me
> --
> View this message in context: http://www.nabble.com/changing-scoring-formula-tp15860296p15860296.html
> Sent from the Lucene - Java Developer mailing list archive at
> Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
--------------------------
Grant Ingersoll
http://www.lucenebootcamp.com
Next Training: April 7, 2008 at ApacheCon Europe in Amsterdam
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org