
There is an eBook for reference in this course as well as the Markdown files used in the eBook available in the repo.
Repetition helps understanding. Many of these sections have overlap so one can skip parts as needed. The sections can be stand alone if needed.
We look at the contents of the GitHub repo.
Cline is a VS Code extension that enables us to do AI Powered coding. It offers a number of free models which we can make use of.
The course is about search not coding and plugin development. We have AI Assistance explaining the plugins in details and a way for you to ask AI questions on the code for fee. If you are looking to learn coding this is NOT the course for you.
We use the All-In-One plugin to import the final version of the site - the quickest way to get you set up for the course.
We add our theme and child theme. This is optional as we will not be working in the front end and if we ever do, the theme is not important as we will be using plugins not theme files.
We add in the remaining plugins and use WP Run Importer to load in the pre-made list of posts.
For Vector Search we need embeddings. An LLM is needed and we set up our OpenAI Account and API Key in this lesson.
We load in our SQL scripts for our custom wp_products and articles tables.
We install the scripts for our custom tables wp_products and articles.
BM25 is the industry standard for key word search and is used in our MySQL FTS. We explore what it is in this lesson.
BM25 can give negative scores. This does not matter as we are looking for relative scores not absolute scores.
We look at having redundant indexes on a column.
We look at the overall process of what FTS does.
As we have seen before, we can use AI Coding tools, (Cline), in this case to help us understand code or even refactor a plugin.
This an advanced course for experienced WordPress Developers.
For Vector Search, and OpenAI API Key is needed. Currently, a minimum initial payment of $5USD is required. The course will use under $1USD with fair usage.
Full Text Search does not need an OpenAI API Key. You can follow the lectures without an API key.
Advanced WordPress Search in MySQL: FTS, BM25, Semantic Search, Hybrid Search, Reranking and Signals.
Modern websites live or die by the quality of their search experience. If your WordPress site relies on default search, you’re leaving relevance, speed, and user satisfaction on the table. This course gives you the technical depth and practical skills to build powerful, intelligent search systems.
What You’ll Learn
How WordPress search actually works under the hood, and why it struggles at scale.
Implementing MySQL Full‑Text Search (FTS) with boolean mode, natural language mode, and relevance tuning.
Using BM25 for dramatically improved ranking and scoring.
Building semantic search with embeddings and vector databases.
Applying reranking strategies to combine lexical and semantic signals - Hybrid Search.
Using Signals to assist rankings.
PLUGIN01 - A summary of TF, TF-IDF and BM25
PLUGIN02 - BM25 with adjustable `k1 ` and `b` parameters
PLUGIN03 - BM25 search results with calculations
PLUGIN04 - Tool yo compare TF, TF-IDF and BM25
PLUGIN05 - FTS on our custom wp_products table
PLUGIN20 - Building our FTS wp_posts_rag summary table with additional embeddings
PLUGIN21 - Searching our wp_posts_rag table
PLUGIN30 - Creating a set of endpoints for FTS, Vector and Hybrid search
PLUGIN31 - Reranking plugin for our set of FTS and Vector searches
PLUGIN32 - Creating a form for our Boolean FTS search
PLUGIN33 - Using our Boolean search to give a ranked set of results on our Posts
PLUGIN40 - A look at what Signals are and how they can help