FAQ
Hi,

I would like to add to lucene's score another factor - a score between
words.
I have an index that holds couple of words with their score.
How can I take it into account when using Lucene search?

Many thanks,
Liat

Search Discussions

  • Ian Lea at Mar 2, 2009 at 11:12 am
    Hi


    Document.setBoost(float boost) where boost is either your score as is,
    or a value based on that score, might do the trick for you.

    Other boosting and custom score options include BoostingQuery,
    BoostingTermQuery and CustomScoreQuery.


    A google search for "lucene boosting" throws up lots of hits.


    --
    Ian.


    On Mon, Mar 2, 2009 at 10:05 AM, liat oren wrote:
    Hi,

    I would like to add to lucene's score another factor - a score between
    words.
    I have an index that holds couple of words with their score.
    How can I take it into account when using Lucene search?

    Many thanks,
    Liat
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org
  • Liat oren at Mar 3, 2009 at 8:30 am
    Hi,
    Thanks for the information.
    Does MoreLikeThis can help in addressing the similiarity of words according
    to index of scores between words I have?

    Best,
    Liat

    2009/3/2 Ian Lea <ian.lea@gmail.com>
    Hi


    Document.setBoost(float boost) where boost is either your score as is,
    or a value based on that score, might do the trick for you.

    Other boosting and custom score options include BoostingQuery,
    BoostingTermQuery and CustomScoreQuery.


    A google search for "lucene boosting" throws up lots of hits.


    --
    Ian.


    On Mon, Mar 2, 2009 at 10:05 AM, liat oren wrote:
    Hi,

    I would like to add to lucene's score another factor - a score between
    words.
    I have an index that holds couple of words with their score.
    How can I take it into account when using Lucene search?

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedMar 2, '09 at 10:06a
activeMar 3, '09 at 8:30a
posts3
users2
websitelucene.apache.org

2 users in discussion

Liat oren: 2 posts Ian Lea: 1 post

People

Translate

site design / logo © 2022 Grokbase