Skip to content

Right single quotation mark in node name causes it to be unsearchable in autocomplete #169

@BrindusaN

Description

@BrindusaN

Describe the bug

When searching via autocomplete for this place (В’ячеслава Чорновола вулиця 8), no results are returned. However, reverse geocoding does return the place.

In the autocomplete request I see that the parser disregards everything in front of the right single quotation mark(), causing the subject to be 8 ячеслава Чорновола вулиця (street: ячеслава Чорновола вулиця, housenumber: 8).

I have tested with a different place that has apostrophe instead in it's name and it works as expected:

  • searched for this place (П'ятихатки Вулиця 11)
  • autocomplete works as expected, the place is returned
  • the parser has the subject 11 П'ятихатки Вулиця (street: П'ятихатки Вулиця, housenumber: 11).
  • reverse geocode also works

Is this a parser issue or the schema is also affected? I see in this file that this character is not included.

Steps to Reproduce
Search for a place that has a right single quotation mark in it's name using autocomplete

Expected behavior
Expected the place to be returned since it exists in the database.

Environment (please complete the following information):
NA

Pastebin/Screenshots
NA

Additional context
NA

References

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions