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

Where can I get ramen asap near me?

How many ants does it take to kill a human?

Check engine light youtube

What is the meaning of life?

These are typical Google searches; just a few of the many concerns on the minds of people as they’re trying to navigate the complexities of their daily lives. 

Being able to web search using any of many available search engines, both public and private, has changed, and is still profoundly changing, many aspects of life in the developed world. It’s hard to imagine that we survived, or that we weren’t bored to tears, before people were able to glue themselves to their electronic devices and instantly Google any question — urgent and critical or random and nonessential — that pops into their heads.

So you probably know what a search query is (well yeah, you handle them every day). But let’s review just in case, and then get into the second, less-obvious part about how a search query is processed.

What is a search query?

If you’re thinking “the string of words someone uses to ask a question,” bravo!

“Query” sounds a lot like “question.” How are they different? 

According to WikiDiff, a query is indeed a question or an inquiry. Then, by comparison, what’s a question? “A sentence, phrase, or word that asks for information.” 

If a query and a question still sound like the same thing to you based on this definition, you’re not alone. Hmm. Next query, er, question: Is WikiDiff reliable? Maybe not.

At any rate, let’s get back to Search Queries 101. There’s an astounding number of search terms being entered in search boxes (and by using digital voice assistants and voice-search apps). Google processes roughly 100,000 searches every second. And that’s just Google.

What are people querying about? Mainly how to go somewhere on the Web, like a company’s home page; how to do something, or how (or where) to buy something. 

There are three flavors of search query, according to those in the know. Here’s what you need to know about the three different types of search queries:

Navigational search queries

This is when the person has a certain website (the landing page or a particular subpage on the site, like the FAQs) in mind and intends to go there. Maybe they know the (relatively simple) URL but are too lazy to type it in their browser. Maybe they’re surfing their social media feed and see a conversation about the benefits of brushing their dog’s fur, so they query for the name of a local pet supply store. They may not know the exact URL or spelling of the company name, and they figure it’s just easier to query for it.

What are some examples of navigational queries? The top ones on Google are simply “facebook” and “youtube.”

Informational search queries

As the name of this one makes pretty obvious, the person is seeking general guidance, facts, or figures — for instance, the steps for how to do something like bake a batch of red velvet cupcakes. 

An informational search might be phrased as a question, such as “How do I recycle a refrigerator?” or “How much alcohol is in non-alcoholic beer?”, but could also be as simple as one word, such as “latte” or “parakeets.”

Transactional search queries

Yep, in this case, the person wants to buy something, either on an ecommerce site or in a brick-and-mortar store. They possess what’s known as “transactional intent.” Using search engine optimization (SEO) to target keywords is applicable mostly for this type of query, since the right words used in digital marketing will rank your business higher in people’s search results and potentially lead to higher revenue.

Examples of a transactional query: “Buy Breville espresso machine”, “deal on iPhone 13”, “best dog brush”.

The journey of a search query

What goes on within the “brain” of a search engine when someone enters a search query in a search bar? What’s happening under the proverbial hood?

Most search engines parse the query and then send it to the index server for processing. 

“Some search engines may “preprocess” the query, using spell checking or query suggestions (essentially asking the searcher “Do you mean….?”).

It’s matched to web pages considered relevant in the search engine’s index, and various rules and parameters are applied. The listing order on the search engine results page (SERP) is then determined based on the best relevance.

To envision the mechanics, it helps to know how a search engine prepares its information index to be searched. For starters, an “index” is where the data is stored. Most search engines store their data in an index in a structured way called an inverted list. 

For instantaneous information retrieval, the engine reverses the logic and structures the index in an “inverted” flow. So instead of scanning a document looking for words, it matches words in order to locate documents. 

Here’s how the search query aardvark could be processed in this model:

As you can see, when you type an a, you get every word that starts with a (and every other alphabetical column is ruled out). If you keep adding letters to your query (aa, then aar), each addition narrows down your matches. And voila, you end up with four relevant search results that will tell you all about earth pigs.  

Keep in mind that because different search engines use individual proprietary algorithms, they all operate and rank relevant terms slightly differently. Plus, in addition to the actual search query, a search engine may consider other relevant data to help it decide how to rank the results, including the searcher’s:

  • Physical location. Are they at the mall? 
  • Detected language. A query in Spanish deserves search results in Spanish.
  • Earlier search history. Were they looking for the same type of thing earlier, only in a different brand or model?
  • Type of device. Are they on their mobile phone?

Identifying searcher intent

For every search engine out there, the key is deciphering the gist of what the searcher intends to find out. Are they trying to simply learn about Canada’s geography, or are they interested in booking a cross-Canada train trip? Do they want to know about the Check engine light because their car overheated and they’re stuck on a freeway median, or because they’re just curious about what could go haywire if they forget to schedule a recommended tune-up? What’s the user intent?

So the search engine is kind of like a psychic trying to read the searcher’s mind, only it’s more like a scientist going through a rigidly ordered checklist (as fast as possible).

As the search engine is comparing records and figuring out rank, it’s asking itself questions like:

Is there a typo in the query? If so, one or multiple?

What does the number of typos have to do with rank? The fewer typos, the better:

  • If there aren’t any typos in the query, the page content ranks higher as a match than if there’s a typo
  • Content generated for queries with one typo ranks higher than that generated by a two-typo query
  • What if the user is a sloppy query enterer and there are (horrors) three typos? Well, they would be out of luck and get zero results because simple textual matching doesn’t correct spelling.

Does the query match on the first letter? Does it match the whole word or only partially?

In prefix search, the search engine compares the whole query with the beginning characters in the attributes of a record in the index. For example, it compares be with best and beatles. But it doesn’t break up the query and search for b, then be, for instance. 

Relevant results are generated as snippets indicating how the query matches phrases that appear in the content.

The records are ranked as having stronger or weaker relevance, which determines the order of the search results starting on the first page. 

Query context also plays a role. To asses the context, the search engine asks itself questions like these:

Does a word in the query match a synonym?

If it does, the search engine will treat the record with the synonym as equal in the ranking process. For example, if the available content contains tights but the searcher asked for leggings, they’ll see search results for both.

Does the query match the title of a record or its description?

With searchable attributes, items whose titles match the query rank higher than items that match on the description.

Is one item more popular than another?

If you have three records that all match perfectly, then the search engine uses custom ranking to add “business metrics” such as prioritizing the one with the most sales, the one most searched for, or the most popular. If two records match differently, then other criteria determine the ranking.

When a competent search engine finishes wracking its index brain and methodically answering all these types of questions, it comes up with its list of relevant search results. The SERP really does look like the handiwork of a psychic scientist. More importantly, the search engine does the critical job of steering the searcher to a web destination, enlightening them with the answer to their pressing question, or pointing them to where they can buy a product.

For example, here’s a great answer from Google to the pressing query “What is the meaning of life?”

One last query: How does Algolia’s search engine rank?

Answer: As a fast, advanced search engine, it’s way up there. Our advanced search API powers billions of search queries for thousands of global companies, instantaneously delivering relevant results (in less than 100 ms).

One reason our customers love it: we use a tie-breaking algorithm to ensure that the best search-result matches appear first. As an added bonus, our search features are transparent. There are no secrets or complicated formulas; you can see the methodology and criteria being employed to find and rank your content. And you can easily configure your search parameters for your company’s specific needs. 

Ready to find out more? Ask for a free demo of our search engine and we’ll be happy to show you what you can do!

About the author
Catherine Dee

Search and Discovery writer

linkedin

Recommended Articles

Powered byAlgolia Algolia Recommend

What is search relevance in the era of browsing, discovery, and recommendations?
product

Peter Villani

Sr. Tech & Business Writer

How ecommerce search engines handle different types of queries
e-commerce

Jon Silvers

Director, Digital Marketing

What is search relevance?
product

Jon Silvers

Director, Digital Marketing