Implement DocumentInterface in Solarium\QueryType\Analysis\Query\Document.