Skip to content

HTML entities break exact match search results #2

@andrewbridge

Description

@andrewbridge

Reproduce: Search "Be Here Now" on https://audioxide.com
Expected: ‘Be Here Now’ and Mr. Hyde is returned
Actual: No results are returned
Cause: The title uses an open bracket that likely gets converted to an HTML entity (correctly), but the search index probably takes it as a whole word, and won't match "Be" on its own.
Suggested Action: deburr, normalise or remove HTML entities prior to generating the search index

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions