Search by Algolia
Add InstantSearch and Autocomplete to your search experience in just 5 minutes
product

Add InstantSearch and Autocomplete to your search experience in just 5 minutes

A good starting point for building a comprehensive search experience is a straightforward app template. When crafting your application’s ...

Imogen Lovera

Senior Product Manager

Best practices of conversion-focused ecommerce website design
e-commerce

Best practices of conversion-focused ecommerce website design

The inviting ecommerce website template that balances bright colors with plenty of white space. The stylized fonts for the headers ...

Catherine Dee

Search and Discovery writer

Ecommerce product listing pages: what they are and how to optimize them for maximum conversion
e-commerce

Ecommerce product listing pages: what they are and how to optimize them for maximum conversion

Imagine an online shopping experience designed to reflect your unique consumer needs and preferences — a digital world shaped completely around ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

DevBit Recap: Winter 2023 — Community
engineering

DevBit Recap: Winter 2023 — Community

Winter is here for those in the northern hemisphere, with thoughts drifting toward cozy blankets and mulled wine. But before ...

Chuck Meyer

Sr. Developer Relations Engineer

How to create the highest-converting product detail pages (PDPs)
e-commerce

How to create the highest-converting product detail pages (PDPs)

What if there were a way to persuade shoppers who find your ecommerce site, ultimately making it to a product ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

Highlights from GopherCon Australia 2023
engineering

Highlights from GopherCon Australia 2023

This year a bunch of our engineers from our Sydney office attended GopherCon AU at University of Technology, Sydney, in ...

David Howden
James Kozianski

David Howden &

James Kozianski

Enhancing customer engagement: The role of conversational commerce
e-commerce

Enhancing customer engagement: The role of conversational commerce

Second only to personalization, conversational commerce has been a hot topic of conversation (pun intended) amongst retailers for the better ...

Michael Klein

Principal, Klein4Retail

Craft a unique discovery experience with AI-powered recommendations
product

Craft a unique discovery experience with AI-powered recommendations

Algolia’s Recommend complements site search and discovery. As customers browse or search your site, dynamic recommendations encourage customers to ...

Maria Lungu

Frontend Engineer

What are product detail pages and why are they critical for ecommerce success?
e-commerce

What are product detail pages and why are they critical for ecommerce success?

Winter is coming, along with a bunch of houseguests. You want to replace your battered old sofa — after all,  the ...

Catherine Dee

Search and Discovery writer

Why weights are often counterproductive in ranking
engineering

Why weights are often counterproductive in ranking

Search is a very complex problem Search is a complex problem that is hard to customize to a particular use ...

Julien Lemoine

Co-founder & former CTO at Algolia

How to increase your ecommerce conversion rate in 2024
e-commerce

How to increase your ecommerce conversion rate in 2024

2%. That’s the average conversion rate for an online store. Unless you’re performing at Amazon’s promoted products ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

How does a vector database work? A quick tutorial
ai

How does a vector database work? A quick tutorial

What’s a vector database? And how different is it than a regular-old traditional relational database? If you’re ...

Catherine Dee

Search and Discovery writer

Removing outliers for A/B search tests
engineering

Removing outliers for A/B search tests

How do you measure the success of a new feature? How do you test the impact? There are different ways ...

Christopher Hawke

Senior Software Engineer

Easily integrate Algolia into native apps with FlutterFlow
engineering

Easily integrate Algolia into native apps with FlutterFlow

Algolia's advanced search capabilities pair seamlessly with iOS or Android Apps when using FlutterFlow. App development and search design ...

Chuck Meyer

Sr. Developer Relations Engineer

Algolia's search propels 1,000s of retailers to Black Friday success
e-commerce

Algolia's search propels 1,000s of retailers to Black Friday success

In the midst of the Black Friday shopping frenzy, Algolia soared to new heights, setting new records and delivering an ...

Bernadette Nixon

Chief Executive Officer and Board Member at Algolia

Generative AI’s impact on the ecommerce industry
ai

Generative AI’s impact on the ecommerce industry

When was your last online shopping trip, and how did it go? For consumers, it’s becoming arguably tougher to ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

What’s the average ecommerce conversion rate and how does yours compare?
e-commerce

What’s the average ecommerce conversion rate and how does yours compare?

Have you put your blood, sweat, and tears into perfecting your online store, only to see your conversion rates stuck ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

What are AI chatbots, how do they work, and how have they impacted ecommerce?
ai

What are AI chatbots, how do they work, and how have they impacted ecommerce?

“Hello, how can I help you today?”  This has to be the most tired, but nevertheless tried-and-true ...

Catherine Dee

Search and Discovery writer

Looking for something?

facebookfacebooklinkedinlinkedintwittertwittermailmail

Search relevance is the measure of accuracy of the relationship between the search query and the search results.

Online users have high expectations. Thanks to the high bar set by sites like Google, Amazon, and Netflix, they expect accurate, relevant, and rapid results. However, the reality is many sites do not have optimized results pages that understand the user’s intent and bring them to their needs with ease.

If you’ve ever searched a website only to be shown a bunch of useless, unrelated results, then you know just how your users might feel: frustrated and primed to go to a competitor’s site to find results. Search relevance is integral to the user experience.

Website owners can fine-tune their search relevance to order search results in the most helpful way to users. This can be based on a number of factors, such as search intent, business priorities, textual relevance, spelling accuracy, geolocation of the user, or proximity of the keywords in the content searched.

Fine-tuning search relevance for accuracy 

Relevance can be hard to get right, since it is highly dependent on context and a number of changing variables. For example, the type of site matters: the way things should be ranked on an e-commerce website versus an academic site won’t be the same. The type of searcher matters as well. A collector and a novice will have varied intents and search skills. Finally, different people will have different words to express what they are looking for, even for the exact same query. A result ranking formula has to work with these different needs.

When a user enters a query like “discount” on an ecommerce site they want a specific subset of records that match the query criteria to be returned. 

search relevancy
When a user enters a query like “discount” on an ecommerce site they want a specific subset of records that match the query criteria to be returned.

Why does search relevance matter? 

Optimizing search relevance is an extremely important, yet often overlooked, aspect of user experience design. Research shows 43% of website visitors go immediately to the search bar, and these searchers are about 2-3 times more likely to convert. When users are served results that align to their query and interests, they will be more satisfied, more engaged, and even more likely to convert. Thus, a good UX design should encourage users to start with the search bar and navigate through the search results.

In addition, modern online users have high expectations for website usability and thus speed, ease of use, and simplicity of design are important factors in how customers perceive a brand. 

A brief history of search relevance

The history of search relevance goes back to the earliest days of the Internet, when researchers were trying to find methods for information retrieval to manage the fast growth of content being created every day. This quickly led to the invention of the search engine.

Search engines

Early search engines and protocols such as Archie, created in 1990 by a postgraduate student at McGill University, and Gopher, created in 1991 by researchers at the University of Minnesota, were important milestones in the development of modern search relevance systems. They enabled academics to use search terms to search through the file systems of other institutions that they connected to over the Internet. 

Yet, these early search engines were still very technical, requiring users to have advanced knowledge of computers and low-level Internet concepts. Meanwhile, just a couple years later in 1993, the World Wide Web started to flourish as hundreds of websites started to go online, initiating a whole new wave of search systems.

Early web search engines

Soon came web crawlers that automatically loaded and updated web pages into the search engine indexes, allowing more content to be searched.

Web search engines such as Excite in 1993 and Yahoo in 1994 quickly gained popularity due to their ease of use. They even included some basic statistical models aimed at understanding user queries and how they related to content.

These novel early systems employed a workable but limited method to rank the most relevant search results to users. They based their relevance ranking on the number of times keywords appeared in web pages, however they didn’t consider any other criteria to assess the quality of the web pages.

Then the game-changer Google search box came onto the scene. Google, founded on September 4, 1998 in Menlo Park, CA, vastly improved search relevance, by building its cutting-edge search engine technology. In the 2000s, Google advanced its search algorithms using newer and more powerful machine learning models that offered even better relevance and predictive search features such as autocomplete and instant search.  

Measuring relevant document search   

With the number of sites expanding, the need to search for relevant documents within particular sites and databases grew as well. Document search was an important precursor to the way we search on sites today.

Traditional ranking systems would often look at the frequency of keywords in documents to predict their relevance. For instance, a classic algorithm known as TF-IDF would look at the number of times keywords appeared in the respective documents (Term Frequency) and at the number of times keywords appeared in all other documents in the repository (Inverse Document Frequency). The latter analysis helps to filter out common words that are typically noise, such as prepositions.

While TF-IDF and other such early approaches to relevance were good at general purpose document search, they failed to take advantage of the additional structure and metadata that most websites contain. Modern content has titles, descriptions, categories, tags, and more keyword-based information that can be used to interpret site content and improve search relevance. 

Over time, search engine companies have developed alternatives to TF-IDF, for example, by relying more on keyword algorithms than statistics. For our own search engine, we developed a tie-breaking and custom ranking system that makes it easier for businesses to see what’s happening under the hood, which enables them to tailor the relevance to their own needs. 

With the advent of newer semantic search capabilities, there are also more sophisticated ranking quality models to score search relevance including nDCG, the normalized discounted cumulative gain, which can determine the similarity between how well a set of query results is ordered for a particular query. The higher the score, the higher the relevance. We have added scoring with neural technology and vector search to expand the relevance of our keyword search to more use cases. There are other methods, too, such as MRR (mean reciprocal rank) and MAP (mean average precision), each with their own pros and cons.

For better relevance, the quality of the records in the search index matters. Keyword and semantic search is only as good as the quality of your data, which is why data cleansing to handle missing values or noisy data, structuring datasets from different sources so it can be better analyzed, and improving content such as titles, descriptions, tags, headers, and metadata can greatly influence search quality score. 

Implementing search result boosting and optimization

Today, as websites have grown their content and product offerings, optimizing search relevance is a major consideration for individual site search engines. Businesses producing their own relevance need to take into account their specific business needs to make their search useful.

For instance, an e-commerce brand may have thousands of diverse products and customers of very different demographics. Thus, when a customer searches for a product, the internal search engine must be able to provide results that are not only related to the query, but also contextually relevant to the specific user.

NLP

Today’s search engines must also know how to handle synonyms, typos, multi-word queries, or even questions. Natural language processing (NLP) is used by search engines to help read, understand, and make sense of human languages. 

Additionally, marketers may want to promote seasonal items similar to that of their in-store merchandising efforts, or business operators may want to push higher margin goods. Therefore, a relevant search system must also be able to take these factors into account and provide custom ranking that can be adjusted to meet these needs over time. 

Many of these algorithms are still clunky, however. To improve this, some algorithms take into account the importance of the matching attribute and the proximity of the keywords. By doing so, the search results are much more likely to be relevant to users than general purpose search algorithms.

More recently, to improve relevance, search designers have been working to build in more personalization and contextualization. This includes technologies like machine learning and natural language processing to enable more conversational search, tracking of user search and browsing history to allow for custom interpretations of queries, and automatic tagging and categorization of web pages for an understanding of content at a higher level than simply that of text keywords.

Fine-tune your search relevance with Algolia 

Optimizing a website’s search relevancy is a complex and ongoing process. It requires not only providing results that match users’ queries, but also provides them personalized results while also meeting your own specific business needs. Further, as users move more toward voice-enabled devices and digital assistants, businesses will have to figure out how to provide a new type of interface that can speak naturally with users.

To provide all of these features to your customers, you’ll need a search-as-a-service partner that provides all the industry best practices and state of the art capabilities out of the box. Better relevance makes a huge difference in whether a customer — on a website or intranet — walks away with a good search or bad search experience.

About the author
Jon Silvers

Director, Digital Marketing

linkedin

Is your site performing as well as it could?

Assess your search experience in less than 5 minutes and get your free report with recommendations.

Grade my search
Is your site performing as well as it could?

Recommended Articles

Powered byAlgolia Algolia Recommend

Comparing the best e-commerce search solutions
e-commerce

Matthieu Blandineau
Jon Silvers

Matthieu Blandineau &

Jon Silvers

The (almost) ultimate guide to site search
product

Ivana Ivanovic

Senior Content Strategist

How to optimize your e-commerce site search
e-commerce

Louise Vollaire

Product Marketing Manager