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 9275341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:34:01+00:00 2026-06-18T16:34:01+00:00

I was learning apache solr scoring methods here . Here is said that you

  • 0

I was learning apache solr scoring methods here. Here is said that you should go to this page to understand the scoring formula. As I am not from maths background it is really hard for me to understand high level math. Is there any alternative to understand the basic scoring formula in easy manner?

  • 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-06-18T16:34:02+00:00Added an answer on June 18, 2026 at 4:34 pm

    Lucene uses number of features to score documents, but basically scoring relies on similarity between document and your query. I explained idea of calculating similarity between documents earlier in more or less simple words, so let me explain it here only briefly.

    If you have dictionary of all words, you may organize them into long-long list. Mathematicians are used to use term “vector” for any sequences, including lists of words, so let’s call it vector of words:

    [abbat, about, bananas, …]

    We can express each document in our collection also as vector, where each element stands for number of occurrences of corresponding word in this document. For example, if document has 1 occurrence of word “bananas”, 2 occurrences of “about” and no occurrences of “abbat”, then document vector will start as follows:

    [0, 2, 1, …]

    Now the most interesting part comes. We can assume that if 2 documents have a lot of common words, they are about similar topics, and if they have very few in common, then these documents are very different. Since we already know that documents may be represented as vectors of words, we can calculate similarity of documents as similarity of their vectors.

    There are many ways to calculate how similar are 2 vectors. Lucene uses quite simple – cosine distance. The idea comes from geometrical representation of vectors and angle between them – if you draw 2 vectors in 2D space, you will see that the more similar are coordinates of these vectors, the less is the angle between them. This is where cosine distance comes from, but in fact you should only care about number of same words in 2 documents.

    When tasking about search engines, queries are treated just like documents: document vector is built for them and is then used to find the most similar (i.e. relevant) documents from collection.

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

Sidebar

Related Questions

Learning some VBA. So far, I've constructed this piece of code which should allow
I am in the process of learning CXF with the help of this Apache
i am new to Apache SOLR..n i am learning how to create documents in
I'm currently learning Apache CXF . When CXF is generating a WSDL file from
I continue learning maven and try to understand why I get this error package
What are the best sites/books for learning Apache from scratch? Any recommendations?
i have just started learning solr. i have installed apache tomcat server and solr
I need to run Linux-Apache-PHP-MySQL application (Moodle e-learning platform) for a large number of
I've been working with the Apache Mahout machine learning libaries in my free time
Learning a lot in my few years of programming that the best projects 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.