Skip to content

Searches with a slash in them give no results eg. AC/DC #11

@jripmeester

Description

@jripmeester

Our client has a large records collection in their Craft installation. But when they search for AC/DC no results are returned. But when is search for AC/DC in the elastic.co console the correct results are returned.

It seems to be going wrong with the slash which gets escaped with a single \ but it needs \.

This is the query i use in the console which works:
{
"query": {
"query_string": {
"query": "ac\/dc"
}
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions