onelson / estuary

33 stars 8 forks source link

Search support #23

Closed onelson closed 3 years ago

onelson commented 3 years ago

Part of the spec for alternate registries includes a search endpoint. Once built, it should be possible to offer a search UI in the frontend that uses this endpoint.

The actual implementation of the search index can be naive for this. We might be able to offer better matching with better performance once we adopt some kind of database to record package details. I think sqlite and postgres both offer extensions for full-text searching. For now, just do some clumsy substring matching on the package names.