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

Who’s buying which of your products? Which items are being combined in people’s shopping carts most often? How can you utilize recommendations — one of the main tools now being deployed to create the high-quality online experiences customers expect — to improve your sales?

Those are all great business-process questions. Fortunately, the answers to the first two can be wrangled with the help of entity relationship models (ERMs), also known as ER models, entity relationship diagrams (ERDs), and ER diagrams. These pictures, which look like flowcharts of different-shaped symbols connected by different styles of connecting lines, let you grasp the relationship types between your various data items, such as products, customers, and orders.

When you can do that effectively in database tables, you’re halfway there. Then you can then use an algorithm to provide accurate recommendations by predicting your customer preferences.

What is an entity relationship model?

In software engineering terms (thank you, Techopedia), an ERM is a “theoretical and conceptual way of showing data relationships in software development…a database modeling technique that generates an abstract diagram or visual representation of a system’s data that can be helpful in designing a relational database.”

An entity is a noun, a thing; for instance, a product. An entity-relationship diagram features category-associated symbols — rectangles, diamond shapes, and ovals, among others, plus lines that connect them (for example, indicating a many-to-many relationship), to illustrate the connections.

An ER diagram tool also often shows attributes for the entities, for example, age or ID number.

Identifying entities and their relationships, and knowing how and why they relate, is important for a variety of applications. For instance, if you have a retail website, you want to figure out how to show product recommendations that will help your shoppers get what they came for and turn into repeat customers.

The origin of the ERD diagram

Here’s a quick look at how entity relationship diagrams made their debut:

In the 1960s, American computer scientist and industrial researcher Charles Bachman came up with data-structure diagrams.

In the early 1970s, three types of data models for databases were being used, called network, relational, and entity set. The problem: none of them offered a complete view of a database. 

So in 1976, a computer scientist interested in improving existing database design, Peter Chen, came up with the concept of an ERD. He wanted to add clarity for the database terms being used to describe the entity relationships. His new model eliminated ambiguity and  unified the database modeling framework.

Chen’s model served as the foundation for Unified Modeling Language (UML).

In the 1980s, James Martin, also a computer scientist, refined Chen’s work and introduced IE notation, which uses crow’s-foot notation to show one-to-many relationships (cardinality).

More recently, entity relationship models have been utilized by AI pioneers. By mapping the relational data of entities, analysts and marketers can begin to see patterns and trends in user behavior that facilitate the prediction of user preferences and help produce the right recommendations.

Types of ERD models

There are three types of diagram when it comes to entity relationship models: conceptual, logical, and physical. Here’s how to tell the difference between these styles of data-flow diagrams:

  • A conceptual data model is the most abstract; it’s a generalization of what’s going on. 
  • A logical data model portrays data elements in detail and, through visuals, facilitates understanding of data relationships, entities, attributes, and keys.
  • A physical data model is detailed, identifying the primary keys and foreign keys of entities. This style is used as a blueprint or working design.

How does an entity relationship model help power recommendations?

So now you know the basics of entity relationship models. What’s probably more important to you, though, is knowing that when you can collect enough customer data and put together an effective relational model, you can generate nuggets of highly useful information. You can clearly see patterns documented in black-and-white diagrams, and you don’t have to guess at things like which items, such as potential add-ons at checkout or also-interesting news stories, your customers might love to know about.

The first step, gathering all that detailed data, should be relatively straightforward. Why? According to Accenture, the majority of customers are willing to give you their data, including their online activity, purchase history, likes, and dislikes, if it leads to better experiences for them. Of course it’s all about them. But who cares? When you get your hands on this invaluable information, you can then get ready to build yourself one powerful recommendation engine

So how do you transform people’s online meanderings and website-poking-around preferences into intelligent, intuitive recommendations that will delight and entice them? In other words, how can you unleash spot-on suggestions to improve your customers’ online experiences, increase your conversion and average cart value, and yata yata?

How AI recommendations work

Want to know how artificial-intelligence-based recommendations work so your organization can figure out how to effectively deploy the right setup?

OK, let’s say you have a movie-subscription website. That means your recommendation engine must decide which flicks your viewers could most enthusiastically want to devour next on their watch list. There are two ways for a recommendations engine to discern this kind of information: 

Content-based filtering: just movies

This approach takes a customer’s preferences (likes, dislikes, user activity) and, based on their movies, endeavors to make helpful recommendations.

Well, not any kind of recommendations, needed though they might be. If one of your customers is watching The Emoji Movie five or six times a week, for instance, you might think the recommendation engine would go out on a limb and suggest a therapist. No such personal advice functionality exists there (yet), but based on tags such as genre, subgenre, director, actor, and movie length, the software would at least be able to recommend other animated family movies, which could potentially break the addictive viewing streak and restore some couch-potato normalization.

Collaborative filtering: movies plus other people

This second type of smart recommendation takes into account the preferences not just of the viewer in question but of other users on your site. By making intelligent connections between what different people rate highly, the engine can offer up accurate recommendations to seemingly similar movie buffs. The movies’ content is still key in driving this method, but there’s a lot more going on behind the (movie) scenes, joining up the dots between what similar users in the community choose to watch next, what they like, and what they dislike. So based on various data points, someone who’s been engrossed in The Emoji Movie might next be nudged toward Despicable Me or Toy Story 4. 

For either of these methods to work, someone or something needs to make some pretty sophisticated connections between the data points being captured in large databases. Fortunately, our AI robot friends can do this in their sleep (or at least while we sleep), that is, if they have the requisite data.

So here we are back at good old entity relationship models — those information-systems tools whose comprehensive views of data make educated-guess recommendations possible. Whether the content-based or collaborative-filtering approach is best for your business, ERD can help you map out relationships between entities and alight on just the right recommendations. All it takes is the right tools.

How to provide A-rated recommendations

Because websites like Amazon are continually upping the ante, a stellar customer experience matters now more than ever. That means adding highly personalized, hit-the-mark recommendations to your website or app would likely be a win.

For this reason, Algolia Recommend enables fast, scalable product discovery through an enterprise-grade engine. You can use our proven API to unlock the full potential of user recommendations, including for:

  • Related products, which could be even better suited to what your customers wanted when they first landed on a page
  • Frequently bought together items: learning that real-world shoppers have shelled out for an item can make people feel justified in adding it to their carts, too
  • Related content they may find worth reading or engaging with, which keeps them on the site longer (always a good thing)

Want your programmers to provide the recommendation experiences your users would love? Learn more now about handling your data relationships and how our popular solution can deliver outstanding recommendations that drive higher conversion and revenue!

About the author
Catherine Dee

Search and Discovery writer

linkedin

Recommended Articles

Powered byAlgolia Algolia Recommend

What is a product recommender (or product recommendation engine)?
product

Catherine Dee

Search and Discovery writer

What are personalized recommendations and how can they boost engagement and conversion?
ux

Catherine Dee

Search and Discovery writer

Building recommendations for ecommerce & media, with & without AI
ai

Julia Seidman

Developer Educator