Skip to content

Module name suggestion should preserve original search #1265

Open
@rwstauner

Description

@rwstauner
Contributor

I tried using a dist: search that wasn't an exact match, and the suggestion uses the translated field instead of the original search term, which seems much less likely to be helpful:

https://metacpan.org/search?q=dist%3AMouseX

Did you mean : file.distribution::MouseX

We should base the suggestion off of the original query rather than after we've munged the field names.

Activity

ranguard

ranguard commented on Jun 11, 2015

@ranguard
Member

Relates to: #1231

haarg

haarg commented on Jun 11, 2015

@haarg
Member

This doesn't seem to be about what the search results are at all, but with how the search text is translated in some cases.

ranguard

ranguard commented on Jun 11, 2015

@ranguard
Member

Ahh, ok, didn't see the difference at first, but I'll open it up again

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @haarg@ranguard@oalders@rwstauner

      Issue actions

        Module name suggestion should preserve original search · Issue #1265 · metacpan/metacpan-web