CompassHits, CompassDetachedHits, and other search result-related objects are Serializable, but CompassDetachedHits contains references to DefaultCompassQuery, which is not serializable.
This causes runtime exceptions in SOA environments where a search server is configured to return the serialized results of a query.
Suggested solution is to ensure that all objects that may potentially be referenced within a *Hits object are Serializable.