Skip to content

whitespace at end of search string yields results; lack of it yields no results #3

Description

@kshahkshah

very simply, when I am searching for:

"My Search String" and there is a perfect match in the corpus provided, I am getting return no results.

However, with a single space "My Search String " I'm able to get results, though the top result is similar to but not the exact match. I'm going to dive into this further, note that the actual string in question is 10 characters long, and I have not been able to create a reduced example.

Elements from actual corpus of products that are being searched look like:

My Search String
My Search Attribute1 String
My Search Attribute2 String
My Search Attribute3 String

Again when searching for "My Search String " I'm returned "My Search Attribute 1 String" as my top result.

Also, again, I tried building a reduced example of this behaviour along these contrived lines but failed to do so, so it'll merit additional investigation.

Though perhaps you can suggest ways I can debug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions