ah okay. Apologies for the confusion. Let me see if I can visualize it for you. so the first first search, the one of the registration index, will return all users who are registering in the last 30m. the results will look like this: email src_ip ip_location John_smith@fake.com 123.123.123.123 Wakefield, Massachusetts, United States Now, I would like to do a secondary search that queries the address index using the email address above, thus returning the address on file: user city_on_file state_on_file address_on_file John_smith@fake.com Boston Massachusetts 123 fake street, Boston Massachusetts you are correct in assuming that this ^ info is in XML format. Ideally I want the end result to look like this: email/user src_ip ip_location city_on_file state_on_file address_on_file John_smith@fake.com 123.123.123.123 Wakefield, Massachusetts, United States Boston Massachusetts 123 fake street, Boston Massachusetts In this particular example, john smith has registered from Wakefield, yet his address on file is boston. Given that IP address GeoLocations are always 100% accurate, id say this may be a false alarm. However, my goal is capture registrations that are very far away from the address on file. I will likely compare states, rather than cities. So, if John Smith were to register in California, yet his address on file states he lives in Massachusetts, then an alert will be raised. address_Index is massive. I am using only the past 30 mins for testing purposes. once I get the code down, I will likely do the past 24h. `get_ip_location()` does return strings like "123 Main St, Sommerville, Sommstate" but it also returns weather or not the IP is from a anonomizer VPN, it can reutrn just the city or or even just the state.
... View more