Takes either one query and document or a range of queries and another of documents..
See Implementation
Takes either one query and document or a range of queries and another of documents..