Kind: function.
Build or refresh the local SQLite + FTS5 index from the KEX portfolio
map. Returns an IndexMeta describing the build.
The index is what makes search fast and offline. It is
rebuilt explicitly (never implicitly) so the cost is visible to the user
and reproducible for tests.
By default the index records the assumed default variant set without
hitting upstream per family. With probe_variants=True, each
family is probed and only present variants are recorded. The probed
mode is accurate but costs roughly one extra request per family.
Kind: function.
Look up one part by name (case-insensitive). Returns None
when the part is not present or the index has not been built.
Kind: function.
Open a connection to the index SQLite database. Defaults to read-only. Provided for downstream tools and tests that need to walk the schema directly.
Kind: function.
Return the metadata sidecar describing the most recent index build, or
None when no index exists.