Hi. I made a layer using mongoDB datastore on some collection. Then structure of the collection was changed. So I edited mapping for that collection.
How can I refresh attributes of that layer via REST API? I found two answers: 1. One solution that helps - PUT request to <geoserver_host>/rest/reset ( docs <https://docs.geoserver.org/stable/en/user/rest/api/reset.html>). 2. Also I found a ticket <https://osgeo-org.atlassian.net/browse/GEOS-6637> in GeoServer tracker that is about subject. But it's status is "open" (so nothing from ticket's description works). Is there a way to refresh attributes via REST API just for a layer. Or first solution is the only and correct for my purpose. I use: - Windows 7 - GeoServer 2.15.2 - MongoDB 3.6 - MongoDB driver for GS 2.15.2 <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Без вирусов. www.avast.ru <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
