Libdoc: Refactored search (#1872)