Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7627847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:30:56+00:00 2026-05-31T05:30:56+00:00

I understand that the default term frequency (tf) is simply calculated as the sqrt

  • 0

I understand that the default term frequency (tf) is simply calculated as the sqrt of number of times a particular term being searched appears in a field. So documents containing multiple occurences of a term you are searching on will have a higher tf and hence weight.

What I’m unsure about is whether this helps increase the documents score because the weight is higher or reduces the documents score because its move the document vector away from the query vector as the book Hibernate Search in Action seems to be saying (pg 363). I confess I’m really struggling to see how the document vector model fits in with lucene scoring equation

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:30:56+00:00Added an answer on May 31, 2026 at 5:30 am

    I don’t have this book to check, but basically (if we ignore the different boosts that can be set manually at indexing time), there are three reasons why the score of some document may be higher (or lower) than the score of other documents with Lucene’s default scoring model and for a given query:

    • the queried term has a low document frequency (boosting the IDF part of the score),
    • the queried term has a high number of occurrences in the document (boosting the TF part of the score),
    • the queried term appears in a rather small field of the document (boosting the norm part of the score).

    This means that for two documents D1 and D2 and one queried term T, if

    • T appears n times in D1,
    • T appears p > n times in D2,
    • the queried field of D2 has (almost) the same size (number of terms) as D1,

    D2 will have a better score than D1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand that, by default, Django auto-populates id for each form field upon rendering
I understand that creating too many threads in an application isn't being what you
By default, browsers don't allow cross-site AJAX requests. I understand that a badly envisioned
I understand that the default encoding of an HTTP Request is ISO 8859-1. Am
I understand that it provides a default implementation that the derived classes can override.
I understand that the default max stack size on ASP.NET was decreased to 256K
I understand that by default (pre ICS), to distinguish between a Tablet & Smartphone,
I understand that Servlet requests are by default multithreaded. I created a simple servlet
I understand that in Grails by default configuration vars are stored in Config.groovy and
I understand that some countries have laws regarding website accessibility. In general, what are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.