FAQ
Hi,

When I say: sorted by relevance or sorted by score -

are relevance and score synonym for each other or what is the difference in
relation to sorting?

Thank you




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

Search Discussions

  • Michael McCandless at Mar 4, 2009 at 12:31 pm
    I think for "ordinary" Lucene queries, "score" and "relevance" mean
    the same thing.

    But if you do eg function queries, or you "mixin" recency into your
    scoring, etc., then "score" could be anything you computed, a value
    from a field, etc.

    Mike

    wrote:
    Hi,

    When I say: sorted by relevance or sorted by score -

    are relevance and score synonym for each other or what is the
    difference in
    relation to sorting?

    Thank you




    ---------------------------------------------------------------------
    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
  • Spring at Mar 4, 2009 at 1:03 pm

    I think for "ordinary" Lucene queries, "score" and "relevance" mean
    the same thing.

    But if you do eg function queries, or you "mixin" recency into your
    scoring, etc., then "score" could be anything you computed, a value
    from a field, etc.
    Hm, how is relevance then defined?


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
    For additional commands, e-mail: java-user-help@lucene.apache.org
  • Michael McCandless at Mar 4, 2009 at 1:10 pm
    It's the similarity scoring formula. EG see here:

    http://lucene.apache.org/java/2_4_0/scoring.html

    and here:

    http://lucene.apache.org/java/2_4_0/api/core/org/apache/lucene/search/Similarity.html

    Mike

    wrote:
    I think for "ordinary" Lucene queries, "score" and "relevance" mean
    the same thing.

    But if you do eg function queries, or you "mixin" recency into your
    scoring, etc., then "score" could be anything you computed, a value
    from a field, etc.
    Hm, how is relevance then defined?


    ---------------------------------------------------------------------
    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
  • Spring at Mar 4, 2009 at 1:38 pm

    It's the similarity scoring formula. EG see here:

    http://lucene.apache.org/java/2_4_0/scoring.html

    and here:


    http://lucene.apache.org/java/2_4_0/api/core/org/apache/lucene
    /search/Similarity.html
    OK; thank you


    ---------------------------------------------------------------------
    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 4, '09 at 11:52a
activeMar 4, '09 at 1:38p
posts5
users2
websitelucene.apache.org

2 users in discussion

Spring: 3 posts Michael McCandless: 2 posts

People

Translate

site design / logo © 2022 Grokbase