database: add option to hide doc from search.