cleaning the way of searching filtering by document_id