Was wondering if it would be possible to index comments on documents so they are searchable - perhaps add an option in the admin interface to allow this? Or is there a straightforward way to do this through the api - doesn't seem to be from browsing the javadoc but perhaps I overlooked something. Thanks.
Comments are currently added as a field in the search index as part of the parent document. I think comments are currently only indexed when the parent document is updated which might explain why you're not seeing them. Since comments are not indexed on their own currently there is no way to find a comment apart from it's parent document.
I hope this helps,