JuliaComputing / JuliaHub-Feedback

Public repo for filing JuliaHub issues
6 stars 1 forks source link

Search functionality very hard to use #40

Open baggepinnen opened 4 years ago

baggepinnen commented 4 years ago

I've been trying out the search functionality at juliahub.com, and find that the search is not very good. If I try a few things where I know what I would like to find, the desired result often ends up very far down the search results, with almost completely unrelated results on top. In particular, a search for more than one word without quoting the expression does not appear to favor search results where the words appear in the order written, or close to it, or at all.

As an example, if I search for parameter tuning, the first result is Parameters.jl, a package that has nothing to do with tuning. In fact, if I click on the result and ctrl+F for the word tuning, it does not even appear on the page.

Another example https://juliahub.com/ui/Documentation?q=bayesian%20optimization The first hit is base julia, followed by some irrelevant hits, to finally yield a package named BayesianOptimization.jl as the 10:th hit.

Is the search functionality outsourced to some external software or is it possible to contribute improvements to it?

pfitzseb commented 4 years ago

The package filtering doesn't currently take a package's tags into account (and there are no packages that mention "tuning" at all outside of tags), but we're rolling out a fix for that soon.

IIRC our ranking for doc search takes package stars into account, so it doesn't seem too weird that BayesianOptimization.jl isn't ranked super high, especially considering that its docs only contain the query ~5 times. That said, there's definitely room for improvement here.