Search by Algolia
What is retail analytics and how can it inform your data-driven ecommerce merchandising strategy?
e-commerce

What is retail analytics and how can it inform your data-driven ecommerce merchandising strategy?

There is such tremendous activity both on and off of retailer websites today that it would be impossible to make ...

Catherine Dee

Search and Discovery writer

8 ways to use merchandising data to boost your online store ROI
e-commerce

8 ways to use merchandising data to boost your online store ROI

New year, new goals. Sounds positive, but looking at your sales data, your revenue and profit aren’t so hot ...

John Stewart

VP, Corporate Communications and Brand

Algolia DocSearch + Astro Starlight
engineering

Algolia DocSearch + Astro Starlight

What is Astro Starlight? If you're building a documentation site, your content needs to be easy to write and ...

Jaden Baptista

Technical Writer

What role does AI play in recommendation systems and engines?
ai

What role does AI play in recommendation systems and engines?

You put that in your cart. How about this cool thing to go with it? You liked that? Here are ...

Catherine Dee

Search and Discovery writer

How AI can help improve your user experience
ux

How AI can help improve your user experience

They say you get one chance to make a great first impression. With visual design on ecommerce web pages, this ...

Jon Silvers

Director, Digital Marketing

Keeping your Algolia search index up to date
product

Keeping your Algolia search index up to date

When creating your initial Algolia index, you may seed the index with an initial set of data. This is convenient ...

Jaden Baptista

Technical Writer

Merchandising in the AI era
e-commerce

Merchandising in the AI era

For merchandisers, every website visit is an opportunity to promote products to potential buyers. In the era of AI, incorporating ...

Tariq Khan

Director of Content Marketing

Debunking the most common AI myths
ai

Debunking the most common AI myths

ARTIFICIAL INTELLIGENCE CAN’T BE TRUSTED, shouts the headline on your social media newsfeed. Is that really true, or is ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

How AI can benefit the retail industry
ai

How AI can benefit the retail industry

Artificial intelligence is on a roll. It’s strengthening healthcare diagnostics, taking on office grunt work, helping banks combat fraud ...

Catherine Dee

Search and Discovery writer

How ecommerce AI is reshaping business
e-commerce

How ecommerce AI is reshaping business

Like other modern phenomena such as social media, artificial intelligence has landed on the ecommerce industry scene with a giant ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

AI-driven smart merchandising: what it is and why your ecommerce store needs it
ai

AI-driven smart merchandising: what it is and why your ecommerce store needs it

Do you dream of having your own personal online shopper? Someone familiar and fun who pops up every time you ...

Catherine Dee

Search and Discovery writer

NRF 2024: A cocktail of inspiration and innovation
e-commerce

NRF 2024: A cocktail of inspiration and innovation

Retail’s big show, NRF 2024, once again brought together a wide spectrum of practitioners focused on innovation and transformation ...

Reshma Iyer

Director of Product Marketing, Ecommerce

How AI-powered personalization is transforming the user and customer experience
ai

How AI-powered personalization is transforming the user and customer experience

In a world of so many overwhelming choices for consumers, how can you best engage with the shoppers who visit ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

Unveiling the future: Algolia’s AI revolution at NRF Retail Big Show
algolia

Unveiling the future: Algolia’s AI revolution at NRF Retail Big Show

Get ready for an exhilarating journey into the future of retail as Algolia takes center stage at the NRF Retail ...

John Stewart

VP Corporate Marketing

How to master personalization with AI
ai

How to master personalization with AI

Picture ecommerce in its early days: businesses were just beginning to discover the power of personalized marketing. They’d divide ...

Ciprian Borodescu

AI Product Manager | On a mission to help people succeed through the use of AI

5 best practices for nailing the ecommerce virtual assistant user experience
ai

5 best practices for nailing the ecommerce virtual assistant user experience

“Hello there, how can I help you today?”, asks the virtual shopping assistant in the lower right-hand corner ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

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

Looking for something?

facebookfacebooklinkedinlinkedintwittertwittermailmail

We use marketplaces every day. Whether looking up new apps for our phones and computers, or while doing a little shopping on Etsy or Amazon, we’re always looking for something.

By design, marketplaces are built to deal with millions of objects, thus making search the critical element of the shopper’s experience. Navigation through that massive amount of products should be made as easy and intuitive as possible.

But, search is complex. Relevant search is way more complex. On top of that, you also need to leverage the few dozens of words that describe your objects in order to always return first the most relevant results your demanding users are looking for.

Relevancy is more than just relevant VS irrelevant: it’s all that gray zone in between. Without an adequate search engine technology, search results are not always as relevant as you wish they would be.

 

How to implement the best marketplace search ever? We’re giving you the whole recipe and an open-source project to implement it.

Check out the GitHub repository

 

The Psychology of Product Search

What your shoppers expect

Your end-users are used to the Google bar:  they want to find what they are searching for whatever the way they write their queries and regardless the number of typing mistakes. They want to find what they are looking for on the first result page, in the top 3 results.

It turns out that searching that kind of non-structured (free text) content is not taken for granted. Most of the time, the objects your end-users and searching for are described by a 3-4 words title and a short description.

What your publishers/sellers dream of

On the other side of the fence, publishers and sellers will do everything they can to appear on the 1st search results page. Sometimes, they will even come close to the same kinds of SEO techniques spammers use on Google so as to crack their ranking algorithm.

Your search engine must be able to work around these hacks and must keep returning relevant results, regardless how the publishers name their products.

What You Need to Do

1. Deal with user-generated content

Even if most marketplaces have strict rules and guidelines on object titles & descriptions, you will need to deal with edge-case submissions that might respect the rules but that will trick your search algorithm with SEO hacks.

One trick in the book consists of injecting trendy keywords in the object title and/or description. For instance, adding “Facebook” to an object title would make the search engine retrieve that object every time the “facebook” word is queried, even if the underlying object has nothing to do with it.

The number of matches of a query word is also often taken into account. But what if a query word matched multiple times in the object description? Is that better than a single match? Well that’s typically something you want to have an answer to. Imagine all Apple accessories resellers who will rush on adding long lists of compatible devices “iphone, iphone 3G, iphone 4, iphone 4S, iphone 5, iphone 5S, iphone 5C, iphone 6, iphone 6” just to trigger a “very relevant” match on any “iphone” query… Probably not something you want, at least not before the actual iphones.

Algolia doesn’t give more importance to objects that are matching several times compared to records matching once. Instead:

  • Algolia ranks the hits depending on the matching attribute weight (more important first),
  • Algolia (optionally) ranks hits based on the position of the matching word in the attribute (considering the “iPhone 6” more important than “Leather case for iPhone 6” for the “iphone” query),
  • Algolia considers all query words by default and fallback considering all words optional if there are not results. Hits matching more words are then ranked before others.

Searchable Attributes

2. Embrace typos

Your users will do typing mistakes. A lot. And even more as the volume of mobile searches keeps on growing. But it makes the task far more challenging and complex to execute because it also involves find-as-you-type search that retrieves objects before the query is even completed.

Algolia natively supports typing mistakes and as-you-type searches. Hits having the less typos are ranked before others. The highlighting feature still works in order to help your users understand where the match occurred.

That said, when I search for “rihana” (misspelled, with a single ‘n’) I still want to see the popular “rihanna” objects first. That’s tricky, because it means that even if there are some objects matching the misspelled “rihana” you want to see the real “rihanna” first.

To implement such ranking strategy, your ranking formula must be able to consider the popular objects separately, and apply the actual sorting twice:

  • display first the popular objects and compare them against each others to show the most relevant popular hit first,
  • and then display the other objects and compare them against each others to show the most relevant non-popular hit first.

An eCommerce website could apply the same type of formula for discounted and featured products.

Algolia’s Ranking Algorithm Unveiled is the ideal solution for such ranking strategy: comparing one ranking criterion after another, moving to the next criterion if the results are tied.

To deal with such “uber popular” objects, you would tag your objects with a “popular” flag and inject it into Algolia’s ranking formula. Putting that flag as the most important ranking criterion will always retrieve “uber popular” hits first (whatever their number of typos) and the non-popular after.

Algolia's Ranking Formula

3. Redefine Popularity

There may be several business metrics you want to use to refine your ranking algorithm. Those metrics probably include:

  • the number of rating stars (out of 5),
  • the number of reviews, downloads or installations
  • the best selling products ($ales)
  • etc.

The more, the better. But, you eventually need to deal with the mathematical formula ruling them all \o/ Not mentioning that you need to also consider the text relevance as well.

So what if the average rating of a object is 5/5 based on 3 reviews; compared to another object which has an average of 4.3/5 based on 1000 reviews?

Algolia doesn’t combine your ranking criteria automatically because that’s really too business-specific: there isn’t any generic way to mix those business metrics.

In Algolia’s default ranking formula, the business metrics are only used to compare hits that are matching equally from a text-relevance point of view. The goal is first to display results that matches the user’s query words and then, if several matches are found: to sort them based on that business data.

Custom Ranking

If you’re dealing with ratings and number of reviews, you should give a look at the Bayesian Average.

Demo

Here is an implementation we’ve done that combines all those best practices. It’s a search of Wordpress plugins:

  • 38K plugins indexed,
  • Default typo-tolerance settings,
  • Popular flag: set to “1” if downloaded at least 10K times,
  • Business metric used to customize the ranking: the number of downloads of each plugin.

Building such experience literally took a few minutes!

Try it live: WordPress Plugins Search

Wordpress Plugins Search

About the author
Sylvain Utard

VP of Engineering

linkedintwitter

Improve conversion rates with product discovery

Improve conversion rates with product discovery Learn how

Recommended Articles

Powered byAlgolia Algolia Recommend

Algolia's top 10 tips to achieve highly relevant search results
product

Julien Lemoine

Co-founder & former CTO at Algolia

How Algolia tackled the relevance problem of search engines
engineering

Nicolas Baissas

Comparing Algolia and Elasticsearch For Consumer-Grade Search Part 2: Relevance Isn’t Luck
engineering

Josh Dzielak