Practise vocabulary for search relevance: BM25, TF-IDF, relevance tuning, field weighting, and ranking evaluation.
0 / 10 completed
1 / 10
___ is the default relevance scoring algorithm in modern search engines, improving on TF-IDF with document length normalisation.
BM25 (Best Match 25) is the default scoring function in Elasticsearch, Solr, and Lucene. It improves on TF-IDF by: applying term frequency saturation (diminishing returns for repeated terms) and document length normalisation.
2 / 10
TF-IDF stands for Term Frequency – ___ Document Frequency, measuring how important a term is in a document relative to the whole corpus.
TF-IDF scores terms high when they appear frequently in a specific document (high TF) but rarely across the corpus (high IDF). Common words ('the', 'is') have low IDF; rare, specific terms have high IDF and thus greater relevance weight.
3 / 10
___ tuning is the process of adjusting field weights, boost values, and scoring functions to align search rankings with user expectations.
Relevance tuning adjusts how the search engine scores results: boosting title matches over body text, penalising old documents, or using click-through data to learn better rankings. It's an iterative, data-driven process.
4 / 10
A ___ boosts search results that match a specific subset of fields — for example, matching in the title field scores higher than body.
Field weights (^2 in Elasticsearch query_string, or 'boost' in multi_match) make matches in important fields (title, heading) worth more than matches in less important fields (body text, tags). This aligns with user expectations that title matches are more relevant.
5 / 10
A/B testing for search relevance compares two ___ configurations by measuring user engagement metrics on the same queries.
A/B testing for search exposes different user groups to different ranking configurations (different boosts, BM25 parameters, or ML rankers) and measures which produces better outcomes (click-through rate, MRR, user satisfaction).
6 / 10
Sarah from the Search team sent this Slack message to the development team: 'We're seeing a drop in relevance for queries related to 'user authentication'. The current ranking prioritizes results containing the term 'password' which is clearly not what users are looking for. How should David respond to improve the search result quality?`,
This scenario focuses on practical adjustments within a search system. Simply tweaking TF-IDF might not address the core issue of misprioritization. Adding a boost value is a targeted approach to elevate relevant results based on specific query terms. Re-evaluating the strategy is important long-term, but David needs a quick fix.
7 / 10
Mark is writing the description for a Pull Request that introduces a new field to the product catalog API. The field, `product_category`, is crucial for filtering and sorting products. What's the MOST appropriate way to phrase this change in the PR description to emphasize relevance ranking considerations? {code}GET /products?category=electronics
The key here is explaining how the new field contributes to relevance. Simply stating it's added isn't enough. Highlighting that `product_category` is *indexed* directly relates to search ranking – the API now uses this field as a primary factor in determining result relevance. The other options focus on implementation details, not the core benefit.
8 / 10
Emily, a Search Engineer, is explaining the concept of 'keyword boosting' to a junior developer. Which of the following explanations best captures this technique? {code}GET /search?q=apple&boost=fruit
This question tests understanding of a specific ranking mechanism. Keyword boosting directly increases the importance of terms in the algorithm's calculations. The other options describe unrelated concepts – API parameters, translation, or index scaling.
9 / 10
John is conducting an A/B test on a new relevance ranking algorithm for the internal knowledge base. He's tracking 'click-through rate' as a key metric. What does this metric *primarily* indicate about the success of the ranking change? {code}Click-Through Rate = (Number of Users Clicking on Result X) / (Total Number of Users Seeing Result X)
Click-through rate is a direct measure of relevance. A higher CTR means that users are more likely to find relevant results based on the new ranking order. The other options relate to different performance metrics (load time, unique terms).
10 / 10
Liam is troubleshooting poor search relevance for a specific product category—'vintage cameras'. He discovers that the 'brand' field has a high weight in the ranking function. What should Liam consider doing to improve relevance? {code}GET /products?category=vintage+cameras&brand=nikon
This question addresses how to manage biased ranking. The brand field is inappropriately influencing relevance when 'vintage cameras' should be judged on other criteria. Reducing the boost value for brand specifically targets this problem, allowing other factors (like category) to take precedence.
What will I learn from the "Relevance Ranking Vocabulary" exercise?
Practise vocabulary for search relevance: BM25, TF-IDF, relevance tuning, field weighting, and ranking evaluation.
Is this exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is free to use with no account, sign-up, or paywall required.
How many questions are in this exercise?
This set contains 10 multiple-choice questions, each with a detailed explanation shown after you answer.
Do I need to create an account to track my progress?
No account is required. Your progress bar and score reset each time you reload the page, but you can retry the exercise as many times as you like.
Who is this Search Engineering Language exercise for?
This exercise is built for IT professionals and non-native English speakers who need to read, write, and discuss search engineering language topics confidently at work.
What happens if I answer a question incorrectly?
You will see the correct answer highlighted along with a detailed explanation of why it is correct -- so every wrong answer becomes a learning moment, not just a lost point.
Can I retry this exercise?
Yes -- click "Try again" on the results screen at any time to reset your score and go through all the questions again.
How long does this exercise take to complete?
Most learners finish all 10 questions in under 10 minutes, since each question is answered by clicking a single option.
Where can I find more Search Engineering Language exercises?
See the full Search Engineering Language exercises hub for more vocabulary drills on this topic.
Is this exercise mobile-friendly?
Yes -- the exercise works on any device with a modern browser, including phones and tablets, with no app download required.