charmstore icon indicating copy to clipboard operation
charmstore copied to clipboard

Search returns a lot of irrelevant seeming results

Open mhilton opened this issue 8 years ago • 2 comments

Search often returns a lot of irrelevent looking results. I think this is because some of the filtering is quite liberal. The ngram matching we use essentially makes it so that if any three consecutive letters in the search term match any three consecutive letters in the URL then it is considered a match. The search indexing and matching should be considerably more picky.

mhilton avatar May 19 '16 16:05 mhilton

https://jujucharms.com/q/kubernetes

1st result - kubernetes, good. 2nd result - assaultcube, WTF? results 3-14, all WTF.

https://jujucharms.com/q/starsay (this is an exact match for a non-promulgated charm I wrote)

all the recommended results (40 items!) - garbage The first community result is good, starsay, exact name match. the other 170 results are all garbage.

When I first started using the search, I seriously thought it was just plain broken.

natefinch avatar May 19 '16 16:05 natefinch

Here's another one, I'm looking for a spark bundle that I know has the charm "filebeat" in it, results: https://jujucharms.com/q/filebeat?type=bundle

The bundle with the charm doesn't show up, but openerp does.

castrojo avatar May 19 '16 16:05 castrojo