Revert removal of DocumentExtractor#getTopDocs

Description

This method is required by Infinispan Query: we recently removed it as there was no comment about it.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Priority

Blocker