When we think “semantic search” we think embeddings.
This is just one kind of “semantic search”. There’s a less sexy approach: mapping queries + documents into hierarchies.
A query for leather couch maps to: /Furniture / Living Room / Seating / Couches and Sofas
Then we rank products based on proximity to the query’s hierarchy
- Item: Loveseat mapped to
/Furniture / Living Room / Seating / Couches and Sofas - An “easy-chair” comes next - its a sibling in the hierarchy ``/Furniture / Living Room / Seating / Recliners`
- Maybe a “living room table” would come next as a cousin - its a
/Furniture / Living Room / Tables /...
Or maybe you decide at the “cousin” level to remove those entirely!
This style of semantic search puts YOU in the driver’s seat. Letting you define similarity close to your domain.
-Doug
Services: Training (use code search-tips) · Consulting
This is part of Doug’s Daily Search tips - subscribe here
Starting in November: AI-Powered Search — Modern Retrieval for Humans & Agents
Learn the latest AI search skills with the authors of AI-Powered Search. Join Doug Turnbull and Trey Grainger to explore modern retrieval for humans and agents. Explore the course on Maven.