The V1 Comments API creates a different QNAME structure than the V0 API - leading to comments appearing in Search results in older clients such as Share.
Comments created via the V0 API have a QNAME structure that although not ideal, allows clients that use the old V0 search API to exclude comments from "cm:content" results etc. by something like this in the FTS SOLR query:
This is because the QNAME contains something like "cm:comment-1234567890".
However, in V1 we see:
which does not match.
I have found we can remove the V1 comments from TYPE:"cm:content" query results using something like:
however that will not remove the containing folders if no cm:content TYPE clause is used.
This will be an issue for older clients where comments created by V1 API will start to appear in results.