This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.
Module for building and searching the index of tools installed within this Galaxy. Before changing index-building or searching related parts it is deeply recommended to read through the library docs at https://whoosh.readthedocs.io.
ToolBoxSearch(toolbox, index_dir=None, index_help=True)[source]¶
Support searching tools in a toolbox. This implementation uses the Whoosh search library.
__init__(toolbox, index_dir=None, index_help=True)[source]¶
Initialize self. See help(type(self)) for accurate signature.
Prepare search index for tools loaded in toolbox. Use tool_cache to determine which tools need indexing and which tools should be expired.