I'm trying to construct ferret's custom query object (e.g. Ferret::Search::BooleanQuery?) and pass it to find_by_contents method in configuration with remote DRb indexer.
It constantly causes DRbServerNotFound exceptions.
I have figured out, that it tries to marshal Ferret::Search::BooleanQuery? to server and fails, because this class doesn't support #marshal_dump method.
The workaround is to use string representation of query, but it would be great if acts_as_ferret extended those query classes to support marshaling.
Another solution is to span a separate server on client that would allow passing references to those objects to DRb server. This scenario is better in terms that it is not needed to extend each and every class instances of which can be passed to DRb indexing server. On the other hand, it could require additional setup (maybe a separate port for every Rails app instance).