Comment

Comment by JSR_FDED

I’ve also recently been through the challenge of AI-enhanced (semantic) search. Ordering the results is very, very necessary. It’s both art and science, and absolutely requires domain knowledge.

From the article, these are the heuristics the OP applied for searching Apple documentation:

* Core types over extensions - View ranks above View+Accessibility * URL depth analysis - /documentation/swiftui/view beats /documentation/swiftui/view/some/nested/thing * Title pattern detection - Exact matches surface first * Modern over deprecated - Current APIs rank higher

parent JSR_FDED 11 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton