Jump to ratings and reviews
Rate this book

AI-Powered Search

Rate this book
Apply cutting-edge machine learning techniques—from crowdsourced relevance and knowledge graph learning, to Large Language Models (LLMs)—to enhance the accuracy and relevance of your search results.

Delivering effective search is one of the biggest challenges you can face as an engineer. AI-Powered Search is an in-depth guide to building intelligent search systems you can be proud of. It covers the critical tools you need to automate ongoing relevance improvements within your search applications.

Inside you’ll learn modern, data-science-driven search techniques search using dense vector embeddings from foundation modelsRetrieval augmented generation (RAG)Question answering and summarization combining search and LLMsFine-tuning transformer-based LLMsPersonalized search based on user signals and vector embeddingsCollecting user behavioral signals and building signals boosting modelsSemantic knowledge graphs for domain-specific learningSemantic query parsing, query-sense disambiguation, and query intent classificationImplementing machine-learned ranking models (Learning to Rank)Building click models to automate machine-learned rankingGenerative search, hybrid search, multimodal search, and the search frontier
AI-Powered Search will help you build the kind of highly intelligent search applications demanded by modern users. Whether you’re enhancing your existing search engine or building from scratch, you’ll learn how to deliver an AI-powered service that can continuously learn from every content update, user interaction, and the hidden semantic relationships in your content. You’ll learn both how to enhance your AI systems with search and how to integrate large language models (LLMs) and other foundation models to massively accelerate the capabilities of your search technology.

Foreword by Grant Ingersoll.

About the technology

Modern search is more than keyword matching. Much, much more. Search that learns from user interactions, interprets intent, and takes advantage of AI tools like large language models (LLMs) can deliver highly targeted and relevant results. This book shows you how to up your search game using state-of-the-art AI algorithms, techniques, and tools.

About the book

AI-Powered Search teaches you to create a search that understands natural language and improves automatically the more it is used. As you work through dozens of interesting and relevant examples, you’ll learn powerful AI-based techniques like semantic search on embeddings, question answering powered by LLMs, real-time personalization, and Retrieval Augmented Generation (RAG).

What's insideSparse lexical and embedding-based semantic searchQuestion answering, RAG, and summarization using LLMsPersonalized search and signals boosting modelsLearning to Rank, multimodal, and hybrid search
About the reader

For software developers and data scientists familiar with the basics of search engine technology.

About the author

Trey Grainger is the Founder of Searchkernel and former Chief Algorithms Officer and SVP of Engineering at Lucidworks. Doug Turnbull is a Principal Engineer at Reddit and former Staff Relevance Engineer at Spotify. Max Irwin is the Founder of Max.io and former Managing Consultant at OpenSource Connections.

965 pages, Kindle Edition

Published February 4, 2025

Loading...
Loading...

About the author

Trey Grainger

5 books5 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
4 (28%)
4 stars
6 (42%)
3 stars
3 (21%)
2 stars
0 (0%)
1 star
1 (7%)
Displaying 1 - 2 of 2 reviews
5 reviews1 follower
November 22, 2026
A practical, first-principles guide to modern search

AI-Powered Search is one of the most thorough guides to building intelligent search I've come across. It moves from BM25 and relevance basics through knowledge graphs, query intent, signals boosting, personalization and learning to rank. It then reaches the LLM-powered frontier: dense vectors, fine-tuned question answering, RAG, hybrid, multimodal and agent-based search.

What I appreciate most is that each idea is grounded in working code and real tradeoffs. Fighting signal spam, applying time decay, and putting categorical guardrails on personalization are lessons that come from building real systems.

My Search and ML teams and I are working through it together, and it has become a shared language for how we think about relevance. I also took the authors' Maven course, which pairs really well with the book.

Highly recommended for anyone building or curious about search.
Profile Image for Ahmed Ismail.
74 reviews
February 11, 2026
well This is a great read!
The book provides a comprehensive overview of the search field and insights on how to use user signals to improve search experiences.
Learned too much and will definitely revisit some sections.
If there exists some resource with several use cases of the methods explained here, that would be perfect to get some experience on when to use what tho.

part 1: 5/5
part 2: 4.5/5
part 3: 4.5/5
part 4: 4/5
Displaying 1 - 2 of 2 reviews