New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search by partial package name #208

Closed
edsko opened this Issue Apr 29, 2014 · 6 comments

Comments

Projects
None yet
4 participants
@edsko
Contributor

edsko commented Apr 29, 2014

For example, searching for diagrams- finds nothing, while it should find diagrams-pdf, diagrams-postscript, etc.

@dcoutts

This comment has been minimized.

Show comment
Hide comment
@dcoutts

dcoutts May 2, 2014

Member

Searching for diagrams works of course.

The problem is that integrating substring search into a keyword-based search is rather tricky and ad-hoc, how are we to score a substring hit?

We can ad-hoc strip '-' off the search term of course :-)

Member

dcoutts commented May 2, 2014

Searching for diagrams works of course.

The problem is that integrating substring search into a keyword-based search is rather tricky and ad-hoc, how are we to score a substring hit?

We can ad-hoc strip '-' off the search term of course :-)

@edsko

This comment has been minimized.

Show comment
Hide comment
@edsko

edsko May 2, 2014

Contributor

Searching for diagrams works only by accident (because the various diagrams packages have diagrams in the description) and gives too many results. I would say that a package with a name that has the search term as a substring should be scored highly.

Contributor

edsko commented May 2, 2014

Searching for diagrams works only by accident (because the various diagrams packages have diagrams in the description) and gives too many results. I would say that a package with a name that has the search term as a substring should be scored highly.

@dcoutts

This comment has been minimized.

Show comment
Hide comment
@dcoutts

dcoutts May 21, 2014

Member

So honestly I'm not sure how to integrate substring search into a keyword-based search in a principled way.

Member

dcoutts commented May 21, 2014

So honestly I'm not sure how to integrate substring search into a keyword-based search in a principled way.

@gbaz

This comment has been minimized.

Show comment
Hide comment
@gbaz

gbaz Apr 24, 2015

Contributor

The correct thing seems to me to be to consider any word with a matching substring a "keyword" with a score proportional to the ratio substring/string?

Contributor

gbaz commented Apr 24, 2015

The correct thing seems to me to be to consider any word with a matching substring a "keyword" with a score proportional to the ratio substring/string?

@kanishka-azimi

This comment has been minimized.

Show comment
Hide comment
@kanishka-azimi

kanishka-azimi May 16, 2017

@danchoi What has your experience with indexing documents lead you to conclude about this?

kanishka-azimi commented May 16, 2017

@danchoi What has your experience with indexing documents lead you to conclude about this?

@gbaz gbaz self-assigned this Sep 22, 2017

@gbaz

This comment has been minimized.

Show comment
Hide comment
@gbaz

gbaz Sep 30, 2017

Contributor

"Searching for diagrams works only by accident (because the various diagrams packages have diagrams in the description)" -- this is not true (at least anymore). It works because we split diagrams-x package names and we have exact matches on the diagrams component. This seems fine to me?

Contributor

gbaz commented Sep 30, 2017

"Searching for diagrams works only by accident (because the various diagrams packages have diagrams in the description)" -- this is not true (at least anymore). It works because we split diagrams-x package names and we have exact matches on the diagrams component. This seems fine to me?

@gbaz gbaz closed this Sep 30, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment