Most real estate search is a filter problem: price, beds, baths, zip code. The deals I care about are a retrieval problem — usually a property carrying an assumable low-rate loan, or a renovation history that supports a cost segregation study — and neither is a filter field on any portal. So I built a pipeline that treats every property as a document, embeds it, and retrieves by meaning.
The corpus: one document per property.
A listing page alone doesn't carry the signal. For each property I assemble a single document from listings, agent remarks, tax assessor records, permit history, prior sale and loan records, and rent history where available. The loan type and origination year live in the loan and county records; the cost-seg signal lives in the permit and renovation history.
Embeddings and hybrid retrieval.
Each document is embedded and stored in a vector index, alongside a traditional keyword index — the Vertex Search AI / RAG setup I run at Ambrella. Hybrid matters because the language is inconsistent. One agent writes "FHA," another writes "government loan," a third writes nothing and the loan type only appears in a county record. Embeddings catch the meaning across phrasings; keyword search catches exact terms. A pure keyword query misses half the candidates; a pure vector query drifts.
Ranking signals: two year-end plays, scored explicitly.
Signal 1 — assumability. A qualified buyer can take over a seller's FHA, VA, or USDA loan — balance, remaining term, and interest rate — with lender and agency approval. Most conventional fixed-rate loans can't be assumed, because the note's due-on-sale clause lets the lender call the loan when title transfers. So the query targets loan type plus origination window: FHA, VA, and USDA loans originated in 2020 through 2022 often carry rates in the high 2s to low 3s, and stepping into one changes a rental's monthly cash flow in a way no price reduction can match. VA loans can be assumed even by a buyer who never served; a 0.5% assumption funding fee usually applies unless the buyer is exempt.
Signal 2 — depreciation potential. A cost segregation study is an engineering analysis that reclassifies a building's components — appliances, flooring, fixtures, lighting, land improvements — out of the 27.5-year residential schedule (39 years for commercial) and into 5-, 7-, or 15-year buckets. The One Big Beautiful Bill Act, signed July 4, 2025, permanently restored 100% bonus depreciation for qualifying property acquired and placed in service after January 19, 2025, so reclassified components can often be deducted in full in year one. It also works as a look-back: a study can capture missed deductions on properties held for years, generally via a Form 3115 filing rather than amended returns. Tax treatment is individual and the rules have limits — talk to your CPA before acting — but the study is worth the most in a year with income to offset, which is why December is the deadline that matters. My own Madeira Beach property, 14060 Miramar Ave — a 0.6-acre lot, fully renovated after the September 2024 hurricane and re-rented in March 2026 — is exactly that signal: heavy component replacement means a real cost-seg story.
The scoring sketch.
The ranker is deliberately simple — a weighted sum over normalized signals:
def score(prop): return ( 0.35 * assumability(prop) # FHA/VA/USDA + 2020-2022 origination + 0.25 * depreciation_potential(prop) # renovation scope, component mix + 0.25 * cash_flow(prop) # rent, occupancy, taxes + 0.15 * location_fit(prop) # Austin, Dallas, Tampa Bay markets ) assumability() is 0 for a conventional fixed-rate note and 1 for a qualifying government-backed loan in the target window; depreciation_potential() rises with documented renovation scope and component density. Only the top of the ranked list reaches a human — the pipeline's job is to discard the noise before it costs anyone a weekend of scrolling.
Why build this at all?
Because the outcome isn't a search result — it's a lead a realtor can sell. "An off-market duplex in St. Petersburg with an assumable VA loan from 2021 and a renovation history that supports a cost segregation study" is a conversation that closes. "A duplex, make an offer" competes with every listing on the internet.
I'm Dhruv Ralhan — a real estate investor, BRRRR specialist, and data engineer based in Austin, Texas. At Ambrella, I build this kind of AI search to find lucrative off-market deals for realtors and investors. Want the year-end shortlist for your market, or this retrieval built for your team? https://dhruvralhan.com
The data is already out there. December just decides who searches it properly.

