in searchengine DocumentWrapper simplified