Introduced separate routers for document indexing and searching