aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/search_results.py
AgeCommit message (Collapse)Author
2024-08-16Add Wiki and RIF search terms to Xapian normal searchzsloan
2024-07-29Include trait and dataset name in hmac passed to search results page for ↵zsloan
non-xapian results Previously it only had the hmac, which caused adding to a collection to not work for such searches
2024-06-27Put SQL search code into function, and default to that function if the ↵zsloan
Xapian search returns no results or throws an error (so search will still work if GN3 is down)
2024-06-27Automatically decide whether to use Xapian or SQL (uses Xapian if possible) ↵zsloan
+ remove separate search button Change logic so that SQL is used for non-term Publish searches, since searches for phenotype trait IDs currently don't work in Xapian
2024-06-27Increase MAX_SEARCH_RESULTS to 50000zsloan
2024-06-27Fix LRS/LOD Xapian searches when there are 5 terms (where position range is ↵zsloan
included)
2024-06-27Fix some issues with handling Xapian search outputzsloan
- Description trimming is now handled in the python code - HMAC generation function is changed to be the same as the one used by global search - Search terms that currently don't support Xapian searches are now 'routed' to the SQL search
2024-06-27Create trait objects from Xapian search results to pass to DataTableszsloan
This means the result table should be displayed now. The only issue is that this involves a significant amount of duplicated code from gsearch.py; I'm not sure how best to avoid this, but this is okay for now.
2024-06-27Raise ValueError if dataset type isn't ProbeSet/Publish/Genozsloan
2024-06-27Add doctstrings for new functions in search_results.pyzsloan
Replace dataset name with fullname (this will need to be changed back when the Xapian indexing is rerun)
2024-06-27Begin adding Xapian queries for the non-global search and submit request to GN3zsloan
Still need to handle the output and address a bug that is also affecting the global search
2024-06-27Add separate button for Xapian searchzsloan
This will be temporary in the longer run, but can stay until all functionality is reproduced.
2023-12-29Namespace all modules under gn2.Arun Isaac
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.