write an ugly MatchesSolrDocument matcher