An API search engine in Elm for Elm
summary
Elm-search is an Elm-built search engine that indexes the documentation JSON of every latest published package, creating a single searchable index of 15,000 exposed functions. It parses type annotations into a custom type AST and scores results with a normalized distance metric that handles lists, order-insensitive argument matching, numeric/float/int and container correspondences, enabling approximate type matching. The index loads in memory and the UI compares query types to return ranked matches.
AI-written summary Β· about
chapters (13)
- 0:00Introduction
- 0:27Packages
- 0:45Encoding
- 1:14Modular Model
- 1:29Packages on Fire
- 1:42Documentation
- 2:02Type annotation
- 2:19Jonas documentation
- 2:35Jonas handlers
- 3:37Distance hunter
- 4:05List comparison
- 4:31List distance
- 4:47Conclusion
related talks
37mThe Search for Search
17mSyntactic Code Search with Sequence-to-Tree Matching: Supporting Syntactic Search with(β¦)
18mZero To Hero: Building a Developer-First Search Experience With OpenSearch
27mTowards Type-Directed API Search for Mainstream Languages
44mBuilding a Modern Search Engine: The Road Ahead
22mELS - the Ember Language Server
45mBuilding amazing searches with Search API
20mTerm Search in Rust
