Modernize Galaxy Tool Search function#21337
Draft
uwwint wants to merge 4 commits intogalaxyproject:devfrom
Draft
Modernize Galaxy Tool Search function#21337uwwint wants to merge 4 commits intogalaxyproject:devfrom
uwwint wants to merge 4 commits intogalaxyproject:devfrom
Conversation
Member
|
Thank you for working on this! Should be very cool! Some future plans in the comment here: #20747 (comment) that could be relevant? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Galaxy's search function is based on Whoosh, which is unmaintained. Bioblend currently doesnt use any intelligent search feature (probably for performance reasons) Performance and usability issues in the frontend as well as backend implementation. This PR is seeking to modernise galaxy's tool search infrastructure in preparation for its use inside the MCP.
Current list of identified issues and their implementation status
[x] replace whoosh with pytantivy which is maintained and unlike Lucene doesn't pull jvm into the dependencies
[ ] re-jig frontend to generate pytantivy search queries
[ ] advanced search frontend currently places a lot of load on the server -> performance test
[ ] current index generation creates one document per tool_id move towards aggregating by tool with changes (yields a 300% decrease in search index)
[ ] cache text search indices for consumption by the frontend
[ ] re-write the fast frontend search to use a full text library - stream in cache search index then switch over to complete online full text search (if possible)
How to test the changes?
(Select all options that apply)
License