mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 05:45:37 +08:00
The populator writes one whoosh index per store, but search only opened the default store's directory — tools served from a named store (per-conf store="...") listed and ran fine yet never appeared in /api/tools?q=. Search each configured store's index and merge hits by BM25 score (ToolWhooshIndex.search_scored); scores from different indexes aren't strictly comparable, but interleaving beats invisible tools, and resolve_search_hit drops ids foreign to this toolbox. Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr