Opensanctions and elastic search

I think the technology behind open sanctions is interesting.

Is open sanctions tied down to elastic search or can it be made to run on a vectorDB (for example) ?

Or is NoSQL a hard dependency ?

Best wishes

Hi,

you are likely talking about yente, the open source screening API service that also powers our hosted API product. Indeed, yente uses ElasticSearch (or OpenSearch) as a backend database. It could likely be rewritten using vector similarity, and that’s an idea we’ve entertained, but it would surely be major effort.

If you’re using OpenSanctions bulk data, you’re of course unlimited in what you do with it - loading it into a database that supports vector similarity search is totally an option.

I hope that answers your question, have a great day!