We have been digging into the possibility of making layer groups non queryable. We found out that this is not currently supported neither using the web console nor editting the XML files direclty. The latter thrown an error with the message below:
2015-11-03 19:56:46,149 WARN [org.geoserver] - Failed to load layer group 'mapaBase.xml'
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field org.geoserver.catalog.impl.LayerGroupInfoImpl.queryable
Debugging information ----
field : queryable
class : org.geoserver.catalog.impl.LayerGroupInfoImpl
required-type : org.geoserver.catalog.impl.LayerGroupInfoImpl
converter-type : org.geoserver.config.util.XStreamPersister$LayerGroupInfoConverter
line number : 231
version : null
Is setting layer groups as non queryable going to be considered in further releases of Geoserver?
Geoserver MSI Installer with Jetty
I don't think anyone has a short term plan to implement this. The home page of the ticket tracker (that you should have read) links to this document for feature requests:
Mass closing all resolved issues not modified in the last 4 weeks