deno_registry2 icon indicating copy to clipboard operation
deno_registry2 copied to clipboard

Improve module search

Open lucacasonato opened this issue 5 years ago • 4 comments

Successor to #56

Problem

  1. The search results are not biased by star count. Some examples:
    • term: discord: the highest star count module is only on place 6.
  2. There are no filtering or alternative sorting capabilities (last uploaded at, supports typescript, no external imports)
  3. Search is not always very relevant to what was searched.
  4. No filtering by module tags

Solution

  1. We need to include more data in the documents being searched (github tags, last upload date, and other stats/metrics).
  2. Use a better search engine. I would like to use MeiliSearch because of the search customizability and API (cc @erlend-sh). We need to find a way to host it / get access to a hosted instance. This would also involve pushing updates to the documents in the database to the search engine. This can be accomplished relatively easily.

lucacasonato avatar Aug 17 '20 18:08 lucacasonato

Just looked at MeiliSearch's repo, they have an official docker image, I'm thinking we could set it up on Fargate relatively easily

wperron avatar Aug 17 '20 18:08 wperron

Could the project root README feed into the search engine? This would hopefully give a more relevant set of data to work with than just the module name and tag line (unless there is more?).

cknight avatar Aug 17 '20 20:08 cknight

This issue is being open for over a year now. Will this be fixed, or is this not a high priority?

itohatweb avatar Feb 03 '22 16:02 itohatweb

Search is extremely broken, https://deno.land/x?query=oak does not even show up https://deno.land/x/oak, please fix asap this annoys me a lot.

image

lts20050703 avatar Feb 03 '22 16:02 lts20050703

Search has been fixed on dotland, so will close

crowlKats avatar Nov 25 '22 20:11 crowlKats