Instead of matching literal words, semantic search embeds the query and the corpus into vectors and returns the nearest neighbours. That handles synonyms and paraphrase, and is the retrieval step behind most RAG systems.
In practice it is often combined with traditional keyword search — a hybrid approach — to get both conceptual recall and exact-term precision. Open-source vector databases provide the index that makes it fast.