Add search operators #10

Merged
tpd94 merged 2 commits from finnius/CDRM-Project:search-operators into main 2025-08-19 03:41:31 +00:00
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
tpd94 merged commit 2654a7100e into main 2025-08-19 03:41:31 +00:00
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.