Skip to main content
All posts

What is hybrid search and how does it combine keywords and meaning?

Hybrid search combines keyword and semantic search so that queries expressing the same need in different words can still find the right content.

sorchy team

6 min read

What is hybrid search?

Hybrid search combines results from keyword search and semantic search in a single ranked list. It uses both the words a visitor enters and how closely their meaning matches the content on your site.

Imagine one visitor searches your store for “waterproof hiking shoes” and another for “shoes for walking in rainy weather.” Both describe a similar need. If your product page uses the first phrase, the second visitor can still find it without having to guess what you called the product.

We explored that frustration in our article on why visitors abandon site search. Here, we’ll look at what each search method finds, how the two result lists fit together, and how to check whether the combined results help your visitors.

Two Search Methods, One List: How Are Results Combined?

In a typical hybrid search workflow, both methods run in parallel. Each produces a list ranked by its own criteria. The lists are then merged. If both methods find the same product, the visitor sees one result for it.

One method for combining results is Reciprocal Rank Fusion (RRF). It uses each result’s position in its original list. A product near the top of a list gets a larger contribution from that list. If the product appears in both lists, the contributions are added together. A product found by just one method can still appear in the final results.

Keyword scores and vector similarity scores may use different scales, so simply adding the raw scores can be misleading. RRF works with rank positions. Other methods normalize and weight scores to make them comparable. The choice depends on the search system.

If necessary, the merged results are ranked again according to their relevance to the query. This is called reranking. Hybrid search retrieves the content. Writing an answer from that content is a separate step, which we discuss in our guide to retrieval-augmented generation (RAG).

What Is Keyword Search? Strengths and Limitations

Keyword search uses matches between the terms in a query and those in your content. It is a strong starting point when someone searches for a product name, a brand, or a page with a familiar title such as “return policy.”

Suppose a shopper has a shoe box in front of them and types the model number “TR-240.” If your catalog indexes that number, an exact match can take them straight to the model they want. Someone who searches for “shoes for walking in the rain” gives you a different kind of clue: they know what they want the shoes to do, even if they have never seen the box.

Full-text search systems can handle differences in capitalization, consider word stems, and use defined synonyms. They may also rank results using signals such as where and how often matching terms appear in a document. The available capabilities depend on the system and its configuration.

This approach can struggle when the query and the content have too little vocabulary in common. For example, a search for “walking in the rain” may rank a product described only as “waterproof trekking shoes” too low. Synonyms can narrow that gap, but it is difficult to anticipate every phrase visitors might use.

What Is Semantic Search and How Does It Work?

Semantic search uses relationships in meaning between a query and the content. This helps connect a visitor’s need with a relevant description even when they use different words. For example, a search for “shoes that stay comfortable on long walks” may match a description mentioning “all-day walking comfort.”

In a common implementation, text is converted into numerical representations called embeddings. The representation of a query is compared with those of the content to find close matches. We explain how these representations can be stored and searched in our guide to vector databases.

What Can Semantic Search Miss?

Two hiking shoes may have similar descriptions, but only one may be waterproof. Even if search finds products related to walking, you still need to check their specifications to confirm they are suitable for rainy weather.

Details specified by the visitor also matter. Showing lace-up shoes to someone seeking slip-on walking shoes does not meet the need, even if both products belong to the same category. The same applies to color, size, and other requirements. A close match in meaning does not establish that a product meets them all.

How Do the Three Methods Handle the Same Query?

Suppose your catalog contains three products: a black casual shoe, a brown waterproof hiking shoe, and a black waterproof hiking shoe. The visitor searches for “black shoes for walking in the rain.” Here is what each method might find in that same catalog.

Search methodWhat it picks upWhat the visitor might see
Keyword searchWords such as “black” and “shoes” that appear in the query and the catalog.Both black models may appear. The casual shoe matches those words even if its description says nothing about wet weather.
Semantic searchThe connection between “walking in the rain” and descriptions of waterproof hiking shoes.Both waterproof models may appear. The brown pair fits the intended use but misses the requested color.
Hybrid searchThe word matches and the matches based on intended use, combined in one ranking.The black waterproof pair may move up because both methods found it. If the visitor selects a black color filter, the brown pair can be excluded.

When you test an example like this, check the product variant as well as its position in the results. If a shopper asks for black shoes in size 8, a product page might look right even though only the brown pair is available in that size. Color, size, and stock filters should apply to the variant the shopper can actually buy.

Configure Search for Your Project: Synonyms, Stopwords, and Similarity Thresholds

First identify a query that fails and the result you expect. Then adjust the relevant setting and test both that query and examples that previously worked well.

Define synonyms in context

“Shipping charge” and “delivery fee” can be treated as synonyms if they refer to the same information on your site. These mappings can strengthen keyword search. However, related actions such as “return” and “exchange” should not automatically be treated as identical. An incorrect synonym may promote pages that look related but do not address the visitor’s need.

Preserve meaning when choosing stopwords

Some systems use stopword lists to handle words that contribute little to distinguishing search results. These lists vary by language and purpose. A frequently used word can still change what someone is asking. For example, removing “without” from “walking shoes without laces” loses the detail that matters most to the shopper. Test sample queries before changing the list.

Apply similarity thresholds at the right stage

Where supported, a similarity threshold can filter out weak matches. Tightening it may reduce irrelevant results, but it can also exclude useful content. A vector similarity score and an RRF score measure different things. A threshold chosen for one cannot be applied directly to the other. Neither score tells you how likely an answer is to be correct.

Collecting more candidates can also increase the amount of content processed during reranking. When adjusting search settings, monitor how long visitors wait as well as the quality of the results.

How Can You Test Hybrid Search With Your Own Content?

Build a list of test queries and write down the product or page that should appear for each. Include exact model numbers, needs phrased in everyday language, and searches with specific attributes. Also include a query for which your site has no suitable result.

  • Compare the same queries using keyword, semantic, and hybrid search. Record whether the correct content appears near the top.
  • Check that requirements such as size, color, or category are enforced. A shoe unavailable in the requested size is an unsuccessful result, even if its description matches the query.
  • When results are weak, first confirm that the relevant content is indexed. Ranking settings cannot retrieve a missing document.
  • Run the same test list after every change. Check whether an improvement for one query harms others.

If keyword search finds the right product but hybrid search promotes unrelated results, examine how the lists are combined. If neither keyword nor semantic search finds the product, check that its page is indexed and contains the necessary information. This helps you decide whether to update the catalog or adjust the ranking.

Adjusting Search Quality With Sorchy

In Sorchy, hybrid search and search-quality settings let you adjust options such as synonyms, similarity thresholds, and the number of sources. Test changes against your own query list to see which settings produce results better suited to your visitors’ needs.

Frequently Asked Questions About Hybrid Search

Does every website need hybrid search?

No. If visitors mostly search for known product names or specific pages such as “track my order,” well-configured keyword search may be enough. Hybrid search becomes worth considering when visitors express needs in many different ways or you have varied content types. Base the decision on the quality of results from real queries.

Does hybrid search increase response time?

Running two searches, merging results, and optionally reranking them requires additional processing. The impact depends on data volume, models, candidate counts, and infrastructure. Running the searches in parallel can reduce waiting time. To see the effect on your site, measure response times with realistic queries and user load.

How does hybrid search handle different forms of a word?

Depending on how keyword search is configured, it can recognize that “hike” and “hiking” are related forms. Semantic search can also connect “shoes for a rainy hike” with a description of waterproof hiking shoes. Try both phrasings against your catalog, then search for an exact model number such as “TR-240.” The first test checks whether visitors can describe the same need in different words. The second checks whether someone who knows the model can find that specific product.

Written by sorchy team

Product updates, practical guides and how sorchy works under the hood.

More from the blog

All posts

Let your site answer for itself

Add your site, wait for the index, paste one line of code.