All the queriers take a string as input, in my case I need to pass a document to find related documents.
One way would be to:
- create an index on the documents using strategy X
- once I get the document -> extract a query using strategy X -> query the documents via the query