Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Geospatial field name only works without a dot #7260

Open
pbraun9 opened this issue Jul 16, 2024 · 2 comments
Open

[BUG] Geospatial field name only works without a dot #7260

pbraun9 opened this issue Jul 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pbraun9
Copy link

pbraun9 commented Jul 16, 2024

The official example works with a field name without a dot e.g. point. But when I use dotted field names e.g. source.geo.location or even point.location if you wish, nothing shows up in the map.

PUT testindex3
{
  "mappings": {
    "properties": {
      "source.geo.location": {
        "type": "geo_point"
      }
    }
  }
}

PUT testindex3/_doc/1
{
  "source.geo.location": {
    "lat": 55.7524,
    "lon": 49.1388
  }
}

Then create index pattern textindex3* and setup a map against the source.geo.location geospatial field.

==> nothing shows up in the Map (a localization should show up in Russia, given those coordinates)

This issue happens only when the field name contains a dot.

OpenSearch & OpenSearch Dashboards v 2.14.0

Debian 12 (bookworm)

Default plugins installed

@pbraun9 pbraun9 added bug Something isn't working untriaged labels Jul 16, 2024
@kavilla kavilla self-assigned this Jul 16, 2024
@pbraun9
Copy link
Author

pbraun9 commented Jul 23, 2024

I mean my fields are nested alright, it works everywhere else so I don't get why it wouldn't work with Maps. Am I missing something or is this truly a bug?
2024-07-23-111337_265x133_scrot

@dblock
Copy link
Member

dblock commented Aug 5, 2024

Likely a bug.

[Catch All Triage - 1, 2, 3]

@dblock dblock removed the untriaged label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants