Keyword search misses any idea phrased differently than your document. Here is how semantic search and vector embeddings fix it, down to the math.