haiku / haikudepotserver

Haiku Depot Server
Other
16 stars 10 forks source link

Search doesn't find some packages #211

Closed diversys closed 3 years ago

diversys commented 4 years ago

Searching for "smb" should find https://depot.haiku-os.org/kio_extras package as there in smb in its description.

andponlin commented 4 years ago

It searches in the title and the summary, but not the description. It seems excessive to search also in the description?

diversys commented 4 years ago

HaikuDepot searches in both places so it kinda make sense to replicate this behaviour here too.

andponlin commented 4 years ago

I will take this question to the mailing list to gather some opinions. I think that querying also the descriptions will lead to a situation where there are too many false negatives because the text is too long and it would be too easy to hit a keyword.

The underlying question is; given the as-built system, is it better to remove text-search in the descriptions of packages in the desktop application so that it is tighter or is it better to expand search into the descriptions of packages in the HDS application so that it is more broad?

My own opinion is that the package titles and summary are going to provide a good meaningful search text without needing to also hit the description. Searching the description would yield too many false positives and make the search less useful rather than more useful because generally anything worth searching would be in the title or the summary.

andponlin commented 3 years ago

Sounds like from a brief show of hands in the mailing list that searching in the descriptions as suggested makes sense.