I'm facing an issue with Collections and Communities disappearing from both search results and admin management pages after modifying the defaultFilterQueries in my discovery.xml configuration.
After changing the default filter query from:
<value>(search.resourcetype:Item AND latestVersion:true) OR search.resourcetype:Collection OR search.resourcetype:Community</value>
to:
<value>(search.resourcetype:Item AND latestVersion:true)</value>
Collections and Communities are no longer visible in:
Public search results page of community and sub-community level (This is what I wanted to do)
but in Management sidebar
edit and new option when I trying to add or nagivation there it is showing no community and collection.