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

Refresh a layers attributes if mapping change in Elasticsearch. #61

Closed
hokieg3n1us opened this issue Feb 7, 2018 · 2 comments
Closed

Comments

@hokieg3n1us
Copy link

Currently, using ElasticGeo, it seems that whenever we create a mapping change on the index the store is referencing, we have to delete the layer and recreate it for those new fields in Elasticsearch to be recognized. It'd be nice to have even a refresh button on a layer to trigger an update to the attributes by reaching out to the mapping API.

@sjudeng
Copy link
Contributor

sjudeng commented Feb 11, 2018

Thanks for reporting this. The update to fix the issue is now committed and will be included in the next release. With the update you can click "Configure Elasticsearch fields" on the GeoServer layer configuration page (see docs), which will include fields added to the index after layer creation. If you're able to test please report back if there are still issues.

@sjudeng
Copy link
Contributor

sjudeng commented May 14, 2018

Included in 2.13.0 release

@sjudeng sjudeng closed this as completed May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants