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

SOLR NAMES/CONFLICTS VIEW - handle future effective filings #83

Closed
JohnamLane opened this issue Jan 2, 2019 · 4 comments
Closed

SOLR NAMES/CONFLICTS VIEW - handle future effective filings #83

JohnamLane opened this issue Jan 2, 2019 · 4 comments
Labels
bug Something isn't working NameX NameX and related services proxied via namex

Comments

@JohnamLane
Copy link
Collaborator

Some filings in CPRD can have future effective dates. Since these filings can be withdrawn (cancelled) after filing, but before their effective date, the Solr cores should not be updated until the filing's effective date.
This example came from PROD:
BC1191987, filed an amalgamation on December 28th, 2018 (effective Jan 1, '19)
On December 28th, one of the predecessors (C1100250) had already been removed from the Solr index, but should have been active until the 1st of Jan.

@JohnamLane JohnamLane added the bug Something isn't working label Jan 2, 2019
@perkinss
Copy link

What if the filing is not withdrawn and someone else searches on the name and doesn't find it?

@JohnamLane
Copy link
Collaborator Author

@perkinss
The Solr cores should not be adjusted until the filing's effective date, that way we know that the filing is going ahead. Today we adjust the core on the filing date (prior to the effective date), so that causes problems when they withdraw the filing prior to the effective date.

@thorwolpert thorwolpert added the NameX NameX and related services proxied via namex label Feb 6, 2019
@WalterMoar
Copy link
Contributor

Here's another scenario, from production: corporation A0108383 calls in to staff and requests an Administrative Dissolution. Staff performs this at 13:28, but it's not effective until midnight. The event causes the trigger to fire at around 13:28, but the corporation is still active so Solr is updated. At midnight the corporation become historical, but there is no new event for this, so it is never deleted from the Solr core.

@thorwolpert
Copy link
Collaborator

Closing as we're moving to a new update style for SOLR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working NameX NameX and related services proxied via namex
Projects
None yet
Development

No branches or pull requests

4 participants