~alanpearce/searchix#6: 
Searching for 'checkers' (the game) doesn't show the expected 'nbsdgames' package

Searching the same string at https://search.nixos.org/packages?channel=24.11&from=0&size=50&sort=relevance&type=packages&query=checkers shows that package as the very first result.

Status
RESOLVED IMPLEMENTED
Submitter
~sourcehutprong045passinboxcom
Assigned to
Submitted
4 months ago
Updated
2 months ago
Labels
No labels applied.

~alanpearce 4 months ago

Unfortunately, the data for "programs provided" isn't available in the packages.json file published on channels.nixos.org, so this isn't going to be quick and easy.

It looks like search.nixos.org gets that data from the programs.sqlite database (source). We can generate/fetch that file and grab the data no problem, it's just a bit more work.

I split the other part of the ticket to #7

~alanpearce 3 months ago

I got this basically working in 7aea6aa2, but the scoring is not the same as search.nixos.org (using your example, nbsdgames shows up after some Haskell packages). I will take a look at that soon, but at least the relevant packages are listed now :)

~alanpearce REPORTED IMPLEMENTED 2 months ago

Register here or Log in to comment, or comment via email.