Рет қаралды 134
The Igbo API has improved its search within the past year and a half. I'm providing a high-level walkthrough of how we have enhanced search so that it's more accurate and performant using RegExp and MongoDB.
Timestamps:
00:00 Introduction
00:36 Steps to create the Igbo API search pipeline
01:23 Step 1: Why two RegExp?
01:59 Start Word Boundary and End Word Boundary
02:54 Front and Back
03:59 NFD and NFC
07:24 Letter Duplication
07:37 Plural and Gerund
08:07 Why Not Use Text Index?
09:07 Step 2: Generating the MongoDB Query
11:22 What About Performance?
11:56 Outro
== Projects ==
Igbo API: igboapi.com
Nkọwa okwu: nkowaokwu.com
== Contribute ==
Igbo API GitHub: github.com/ijemmao/igbo_api
Volunteer Form: nkowaokwu.com/volunteer
🎬 Subscribe to the channel! - / @ijemmaonwuzulike
== Let's Connect ==
🐦 @ijemmaohno - / ijemmaohno
🐦 @nkowaokwu - / nkowaokwu
== Who I Am ==
I'm Ijemma, a frontend software engineer currently working in New York City. I make videos on all things JavaScript and, more broadly, frontend web development.
Icons from Freepik
#javascript #webdevelopment #softwareengineer