Libdoc: Search enhancements