flora-pm / flora-server

A package index for the Haskell ecosystem
https://flora.pm/about
Other
125 stars 38 forks source link

Package search #4

Open tchoutri opened 2 years ago

tchoutri commented 2 years ago

Packages search with the https://lib.rs algorithm, and a drop-down for other sorting criteria.

https://github.com/rust-lang/rfcs/blob/master/text/1824-crates.io-default-ranking.md

Dependencies

jappeace commented 2 years ago

I think this is a good option for the implementation: https://blog.crunchydata.com/blog/postgres-full-text-search-a-search-engine-in-a-database

tchoutri commented 2 years ago

@jappeace FTS is one thing but I think it's better for text documents. I'd rather start using trigrams first. :)