Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When searching name + address, alt names and DPL searches gets skipped entirely #440

Open
vishwasbabu opened this issue Sep 17, 2022 · 1 comment
Labels
bug Something isn't working hacktoberfest-accepted
Milestone

Comments

@vishwasbabu
Copy link

Watchman Version: v0.23.0

What were you trying to do?

I am trying to run an OFAC screening for an Individual with the following properties

Name : Vazir
address : Any random Address

When I search for only the name, like https://oss.moov.io/watchman/?name=VAZIR&limit=10 . I expect to see results for name matches on the SDN including Alternate name matches and Denied persons which works as expected.

However, when I try to additionally add an address to the search the Alternate Name and DPL matches disappear completely from the results

Ex: https://oss.moov.io/watchman/?address=Any%20Random%20Address&name=VAZIR&limit=10

Even explicitly adding an ALT Name search to the address and name search, alternate name matches do not appear

Ex: https://oss.moov.io/watchman/?address=Any%20Random%20Address&name=VAZIR&altName=VAZIR&limit=10

What did you expect to see?

I would expect a search for https://oss.moov.io/watchman/?address=Any%20Random%20Address&name=VAZIR&limit=3 to return alternate names and denied persons as well, something like

Screen Shot 2022-09-17 at 4 00 49 PM

What did you see?

However, a search for https://oss.moov.io/watchman/?address=Any%20Random%20Address&name=VAZIR&limit=3 returns a result similar to the one below and does not include details of alternate names and denied persons.

Screen Shot 2022-09-17 at 4 02 12 PM

Note: While I could a query like https://oss.moov.io/watchman/?address=Any%20Random%20Address&limit=3&q=VAZIR to get the results I am looking for, I would ideally not want the name to be used for running an address match and flag unrelated results (which would happen if I use "q" for the name search)

How can we reproduce the problem?
Provided above

@vishwasbabu vishwasbabu changed the title When searching name + address, alt name search gets skipped entirely When searching name + address, alt names and DPL searches gets skipped entirely Sep 17, 2022
@adamdecaf adamdecaf added the bug Something isn't working label Sep 19, 2022
@adamdecaf
Copy link
Member

adamdecaf commented Sep 21, 2022

Name and address searches go through their own path which only includes SDNs. We could include the other lists at a performance penalty.

https://moov-io.github.io/watchman/search/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest-accepted
Projects
None yet
Development

No branches or pull requests

2 participants