changing search to work with new document types