django-pgcrypto-fields icon indicating copy to clipboard operation
django-pgcrypto-fields copied to clipboard

Indexing alternatives on these fields

Open dizzydes opened this issue 1 year ago • 0 comments

Broad question, was just wondering if there's any best practice people use when performantly searching over these encrypted fields in a large dataset (eg in a Django admin search_field)? Indexes can't be added to byte type right. I was thinking having an unencrypted subset of a PII field perhaps - maybe there's a better way.

dizzydes avatar Jan 29 '24 09:01 dizzydes