I want to group my results by a field named "group_id". However, some of my documents don't contain the field "group_id". But I still want these documents to be returned as part of the results as long as they match the main query "q".
Do I need to do anything to tell Solr that I want those documents? Thanks.