Semantic retrieval
Illustrative exampleThe buyer’s sentence and each property become vectors (embeddings), and similarity measures how close they are. This is how “near the metro” finds properties described in other words.
Variables
- ssimilarity between query and property (from −1 to 1)
- qbuyer query
- pcandidate property
- Efunction that turns text into a vector
Objective
Generate candidates: keep the properties closest to the query so they can be ranked afterwards.
Constraints
- Hard constraints filter first (for example, active listing and region).
- Similarity generates candidates; it does not decide on its own.
Practical example
A query about an apartment near the metro to get to work brings up properties in neighborhoods with a station, even when the listing does not use those words.
Business implication
Fewer relevant properties stay invisible because of vocabulary.
Assumptions and limitations
Quality depends on the embedding model and on data coverage.