Hello Guix!

With commit 4e863eb35fd8337eab48928e7733b7f6b7b2c242 ‘guix package
--search’ attempts to compute a “relevance score” for each matching
package, based on the number of matching regexps and the number of
matches for each regexp, and sorts its output by relevance:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix package -s scheme -s compiler | recsel -p name,relevance 
| head -20
name: chez-scheme
relevance: 15

name: gambit-c
relevance: 12

name: mit-scheme
relevance: 9

name: microscheme
relevance: 9

name: bigloo
relevance: 9

name: vim-scheme
relevance: 6

name: swig
relevance: 6
--8<---------------cut here---------------end--------------->8---

We could probably tweak the score function a bit more, but overall I
think this improves over what we had previously.

Thoughts?

Ludo’.

Reply via email to