eventflow / EventFlow

Async/await first CQRS+ES and DDD framework for .NET
https://geteventflow.net
Other
2.39k stars 445 forks source link

Elastic Search GeoPoint not being mapped properly in index #970

Closed jessemillerrev closed 1 year ago

jessemillerrev commented 1 year ago

I have an Elastic Search read model that contains the following property:

[GeoPoint(Store = true)]
public GeoLocation? Location { get; set; }

When I the read model is triggered by an event and the index hasn't been created yet it generates the index based on the schema. However, now that I am trying to use this GeoPoint attribute (built into NEST) it is not properly mapping the Location property to the GeoPoint type in the index which breaks my spatial lookups. Any ideas on how I might fix this? Is there a way to hook into the index creation to manually map that field?

github-actions[bot] commented 1 year ago

Hello there!

We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. We consider this issue to be stale and will be closing it within the next seven days.

If you still require assistance with this issue, please feel free to reopen it or create a new issue.

Thank you for your understanding and cooperation.

Best regards, EventFlow

github-actions[bot] commented 1 year ago

Hello there!

This issue has been closed due to inactivity for seven days. If you believe this issue still needs attention, please feel free to open a new issue or comment on this one to request its reopening.

Thank you for your contribution to this repository.

Best regards, EventFlow