System Design
19. AI System Design and LLM InfrastructureAnimated
Hybrid Search
Combine keyword and vector search.
The idea
Run both, merge scores, and get the benefits of exact match and meaning.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Run keyword search: exact terms, names and codes.
- step:
- 1/4
- at:
- Query
1/9
The green dot is a request moving through the system.
Step by step
- 1Run keyword search
- 2Run vector search
- 3Merge with a fusion method
- 4Return the combined ranking
Where it is used
Production search.
Watch out for
Tuning the fusion weights.