Results 1 to 3 of 3
  1. #1
    archy is offline Member
    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0

    Default Understanding Lucene scoring

    I am trying to understand the scoring in lucene. I indexed one document into lucene. Then I formed a query which is the exact same text as the one document that was indexed. I am using the IndexSearcher.search() function to get the score. But I am not getting a perfect score. I am getting a value less than 0.5. I read that lucene combines VSM and Boolean model. But I do not understand why I am getting this score. Can someone throw some insight into this?

  2. #2
    gimbal2 is online now Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,689
    Rep Power
    5

    Default Re: Understanding Lucene scoring

    Sure!

    Google: "lucene scoring"
    Result: https://lucene.apache.org/core/3_6_2/scoring.html
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    archy is offline Member
    Join Date
    Dec 2013
    Posts
    2
    Rep Power
    0

    Default Re: Understanding Lucene scoring

    Quote Originally Posted by gimbal2 View Post
    Sure!

    Google: "lucene scoring"
    Result: https://lucene.apache.org/core/3_6_2/scoring.html
    Thanks for the link. I checked out this site. I see that it combines VSM and boolean method. My understanding is that if the documents are exactly the same, both these methods give a score of 1.0. So why am I getting score less than 1.0 when the documents are exactly the same.

Similar Threads

  1. Need help with scoring system in game
    By jeol in forum New To Java
    Replies: 2
    Last Post: 12-24-2012, 06:58 PM
  2. Replies: 1
    Last Post: 10-10-2011, 08:30 PM
  3. Need some understanding and help!
    By Kevinius in forum New To Java
    Replies: 8
    Last Post: 05-14-2011, 05:50 AM
  4. get hit scoring?
    By Allasso in forum Lucene
    Replies: 9
    Last Post: 06-04-2010, 04:00 AM
  5. Replies: 1
    Last Post: 02-04-2008, 08:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •