Specbee: How to implement Algolia Search in Drupal 9 (Part 1)

Specbee: How to implement Algolia Search in Drupal 9 (Part 1)
How to implement Algolia Search in Drupal 9 (Part 1)
Subhash Yadav
06 Sep, 2022

Studies show that 30%* of site visitors use the site search feature on a website (when made available) to get relevant results. More importantly, about 68%* of e-commerce site visitors would not return to a website that displays poor and oftentimes irrelevant search results.

Clearly, this underlines the importance of the search feature in a website. Algolia is a very robust, AI-powered search API that can help organizations build dynamic consumer-grade search features for their websites easily.

In this article, we will walk you through the process of integrating Algolia search into a Drupal 9 website.

This is the first chapter of a 2-Part series article. Stay tuned for the next chapter of this blog post to learn how to display the Algolia search results on your Drupal website.

Specbee: How to implement Algolia Search in Drupal 9 (Part 1)

But first, Why Algolia?

With Algolia, it is easy to build customized and powerful search solutions.

  • It provides consumer-grade search
  • Returns result faster than ElasticSearch/ Apache Solr
  • Provides out-of-the-box support for results as you type, typo-tolerance, smart results highlighting
  • Algolia is easy and fast to set up and is a paid service while ElasticSearch is an open service built on top of Lucene and has a steep learning curve

Configuring Algolia

Before moving on with setting up the Drupal – Algolia integration, note that this process assumes that you already have set up your Algolia account and know how to configure Drupal search API.

First, let’s configure the Algolia dashboard to create our index for storing and indexing the website data.

Create Index

 

Once the index is created, we can also configure various search options like faceting, pagination and more by clicking on the Configuration button on the Index tab. You will learn how to configure facets once our data is indexed on Algolia. For now, let’s move to our Drupal 9 site to create a new Algolia server and index.

Configuring Search API

To index the website contents on Algolia, you’ll need the search_api_algolia module. It is an integration module that lets you connect to the Algolia service via Drupal’s Search API. 

Download and enable the module. Once the module is enabled, you will need to create a server and index:

  • Go to  Configuration -> Search and metadata -> Search API
  • Click Add Server and add Server Name
  • Choose Algolia as the backend
  • In the Configure Algolia backend, you will need the Application ID and the API key. For these, you can go back to the Algolia site and click on User Name on the top right side of the page and click on Settings again.

Index Settings

  • Click on API Keys

 

API Keys

  • Now, copy and paste the Application ID and Admin API Key from the dashboard.

Edit Search Server

  • Click Save.

Now let’s create an Index for our Search Server. For that Click on Add Index.

  1. Add Index Name and select the appropriate data sources that you want to index on Algolia.
  2. Under the Server option choose Algolia Search.
  3. Unde the Index options, enter the Algolia Index Name from the Algolia website.Search
  4. Click Save.
  5. In the fields tab, add required fields and Click Save.
  6. Go to the view tab and re-index all data.

Once the data is indexed, it is time to configure facets.

Configure Facets

Now let’s configure facets for filtering our search results by clicking on Facets in the Configuration tab.

Next, click on the Add an Attribute button available in the Attributes for faceting section as shown below.

Add Attribute

 

In the same way, you can also configure pagination options for your search functionality.

*Statistics References

Final thoughts

In today’s section, you saw how we configured the Algolia dashboard to create an index and added configuration to our Algolia index. We also added a Search API server and configured an index in our Drupal site to index our site contents on Algolia Server. In the next chapter, you will learn how to display Algolia search results on your Drupal website using Algolia’s UI Library InstantSearch. So stay tuned! Don’t forget to subscribe to our newsletter to get the latest weekly articles in your inbox.

 

VirtualBox Explored (Part 2)

I am sorry to have had to split the article up, but it was getting too long. The second part goes into the aspects of using more of the various features of VirtualBox.

There should hopefully be something here that will be useful to everyone.

The first part is located here: https://www.linux.org/threads/virtualbox-explored-part-1.40456/

Access to USB Devices

We should now be able to access USB devices, specifically USB storage devices. Sometimes you need to bring data…

https://www.linux.org/threads/virtualbox-explored-part-2.40975/

The Tech Talk

The Tech Talk

The internet is a great place for families. It gives us new opportunities to discover the world, connect with others and just generally make our lives easier and more colorful. But it also comes with new challenges and complications for the people raising the next generations. Mozilla wants to help families make the best online […]

The post The Tech Talk appeared first on The Mozilla Blog.

The death of the PCIe expansion card

With the AM5 platform from AMD on the horizon, five major motherboard manufacturers have annonced their flagship motherboards with the X670E chipset. Some of them are having fun with this generation’s multi-faceted step into “five”: AM5, PCIe Gen 5.0, DDR5, 5nm process, boost clocks over 5GHz, you catch the drift. But do you know what every single announced motherboard has fewer than five of? PCI Express (PCIe) slots. Other than a GPU and the occasional WiFi card, I haven’t really had any need for my expansion slots in a long time. I just don’t know of anything useful. I doubt they’ll actually go away any time soon though.

Episode 4: Building creative restrictions to curb AI abuse

In this episode, Stefano Maffulli, executive director of the Open Source Initiative, and David Gray Widder, a Ph.D. student at Carnegie Mellon University, discuss David’s research and findings on ethics in artificial intelligence and, in particular, the challenges software engineers face related to trust and ethics in AI.

The post Episode 4: Building creative restrictions to curb AI abuse first appeared on Voices of Open Source.

Triste : Voici la maladie mystérieuse à l’origine du décès de l’Imam Alioune Badara Ndao

▷▷ABONNEZ-VOUS ICI : https://bit.ly/2EcXtOL
Activez les NOTIFICATIONS pour ne pas manquer les prochaines vidéos
Retrouvez-nous sur https://www.SeneNews.com
Téléchargez notre App Android : http://bit.ly/2zzUxto
Téléchargez notre App sur IOS : http://apple.co/2zQjAco
Suivez nous sur Twitter : https://twitter.com/Senenews
Suivez nous sur Facebook : http://bit.ly/2zPqJJQ

Metallic Glossy Logo Intro Reveal in After Effects By Photosclip

#MetallicGlossyLogoIntroRevealinAfterEffects#Metallic#Glossy#Logo#Intro#Reveal#in#After#Effects#Photosclip

Don’t click this link
https://bit.ly/3kjZTOp

App :
1. Adobe After Effects 2022

Shop any product go to my amazone store : https://amzn.to/3BflKAL

◈My 2nd Channel Link
https://www.youtube.com/channel/UCzWvJL4WPNuM7NQYLcmnSNQ

■ More Video Watching

☆https://www.youtube.com/channel/UCDlFgVq7Aixvt_y6jAP35uA?view_as=subscriber

■ Playlist

☆ PC Editing : https://youtube.com/playlist?list=PLYid13ye7zO0vSWeH8l7v5UXzG-svrxFX

☆ Mobile Editing : https://youtube.com/playlist?list=PLYid13ye7zO0Ph9WnfvBW7IV685zmt33V

___________________________________________

That’s what i talked about in this video,

00:00 Image Intro
00:17 Voice & Video Intro
00:59 Uploading Process
12:44 Outro

___________________________________________

Follow Me On Instagram
https://www.instagram.com/photosclip/

Follow Me On Facebook Page
https://www.facebook.com/Photosclip2M

Follow Me On Twitter
https://twitter.com/Photosclip1

Follow Me On Dailymotion
https://www.dailymotion.com/Photosclip1

___________________________________________

Your Queries :-
1. Metallic Glossy Logo Intro Reveal in After Effects By Photosclip
2.after effects tutorial
3.Photosclip tutorials
4.animation tutorials
5.learn aftereffects
6.adobe after effects
7.Photosclip tutorial
8.after effects cc tutorial
9.video editing tutorial
10.Photosclip Editing
11.animation tutorial
12.graphic designing tutorial
13.how to make
14.awesome motions
15.metallic logo in after effects
16.metal logo in after effects
17.chrome logo after effects
18.awesome motions intro after effects
19.how to make metal logo in after effects

■ PC️
AMD Ryzen3 3200G With Radeon Vega Graphics
Gigabyte Motherboard GA-A320M-H
RAM 8GB
_______________________________________________

I Hope You Like This Video If You Want To See More Videos Like This , Then Subscribe To The Channel And Like This Video And Share The Video With Everyone .

__________________________________________________

Intro Music Credit
Song : Loki Trailer Music | EPIC VERSION
Music Promoted By Vlog Samuel Kim Music.
Video Link https://youtu.be/4MDRWT9AlgU

Music Credit
Song : NCS: 2022 Future Hits Mix (with NIVIRO)
Music Promoted By Vlog No Copyright Sounds.
Video Link https://youtu.be/q9TfGhH2uWQ

__________________________________________________

Thanx for watching This Video ❤️❤️❤️❤️Keep Suport Keep watching

#Photosclip