From: | Zac Medico <zmedico@g.o> | ||
---|---|---|---|
To: | gentoo-portage-dev@l.g.o | ||
Subject: | Re: [gentoo-portage-dev] [PATCH] fuzzy search: weigh category similarity independently (bug 623648) | ||
Date: | Sun, 09 Jul 2017 17:21:51 | ||
Message-Id: | CAMiTYSpDrDOd6WDD4PK-93i2KiiX=8d=Hv0ZjCoR4j7+L8mEUw@mail.gmail.com | ||
In Reply to: | Re: [gentoo-portage-dev] [PATCH] fuzzy search: weigh category similarity independently (bug 623648) by Brian Dolbec |
1 | On Sun, Jul 9, 2017 at 7:16 AM, Brian Dolbec <dolsen@g.o> wrote: |
2 | > On Sat, 8 Jul 2017 13:03:58 -0700 |
3 | > Zac Medico <zmedico@g.o> wrote: |
4 | > |
5 | >> Weigh the similarity of category and package names independently, |
6 | >> in order to avoid matching lots of irrelevant packages in the same |
7 | >> category when the package name is much shorter than the category |
8 | >> name. |
9 | >> |
10 | >> X-Gentoo-bug: 623648 |
11 | >> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=623648 |
12 | >> --- |
13 | >> pym/_emerge/search.py | 24 +++++++++++++++++++++--- |
14 | >> 1 file changed, 21 insertions(+), 3 deletions(-) |
15 | >> |
16 | > |
17 | > |
18 | > looks fine |
19 | > |
20 | > -- |
21 | > Brian Dolbec <dolsen> |
22 | |
23 | Thanks, pushed: |
24 | |
25 | https://gitweb.gentoo.org/proj/portage.git/commit/?id=66df1d045a64f8ad6453d9668cdb66980c128b69 |
26 | |
27 | -- |
28 | Thanks, |
29 | Zac |