Add search operators #10

Open
finnius wants to merge 2 commits from finnius/CDRM-Project:search-operators into main
First-time contributor

Changes the search_by_pssh_or_kid() function in cache_to_db_sqlite.py and cache_to_db_mariadb.py to allow you to search specifically for kid or pssh to hopefully improve performance when the search_filter starts with any of the two prefixes.

Example kid query:
kid:3a4c1f5278b44e419b6dd2b7f8e8c573

Example pssh query:
pssh:AAAANHBzc2gAAAAAmu+LqXnWSs6jyCfc1R0h7QAAAAASNA0HVPtE5Bm23St/joxXM=

Changes the `search_by_pssh_or_kid()` function in cache_to_db_sqlite.py and cache_to_db_mariadb.py to allow you to search specifically for kid or pssh to hopefully improve performance when the search_filter starts with any of the two prefixes. Example kid query: `kid:3a4c1f5278b44e419b6dd2b7f8e8c573` Example pssh query: `pssh:AAAANHBzc2gAAAAAmu+LqXnWSs6jyCfc1R0h7QAAAAASNA0HVPtE5Bm23St/joxXM=`
finnius added 2 commits 2025-06-13 14:06:33 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u search-operators:finnius-search-operators
git checkout finnius-search-operators
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tpd94/CDRM-Project#10
No description provided.