Skip to content

Geoname features not returned when queried together with osm source. #1648

@sathibault

Description

@sathibault

Describe the bug
When querying via /v1/search API, geoname features are missing from the results when the source=gn,osm that are returned as expected when the source=gn.

Steps to Reproduce
Using a Pelias server built using the docker/project/australia setup:

Query explicitly from gn:
curl -s "http://localhost:4000/v1/search?text=diamantina+river&sources=gn"
returns 10 results from gn.

Query with both sources:
curl -s "http://localhost:4000/v1/search?text=diamantina+river&sources=gn,osm"
returns 1 result from osm.

Expected behavior

The query with both source osm, and gn was expected to return all 11 results (1 from osm, 10 from gn).

Environment (please complete the following information):

  • OS: Windows
  • Docker version 20.10.24
  • Docker Compose version v2.17.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions