Libdoc: Search tuning #1872