Open flooie opened 2 weeks ago
We have a habit of not getting back to things until we don't know what they mean. Can you link back to where we talk about this so we remember which index it is and can delete it properly?
Can you link back to where we talk about this so we remember which index it is and can delete it properly?
@mlissner The original comment about the index we need to delete is here:
https://github.com/freelawproject/courtlistener/pull/4116#pullrequestreview-2121611999
I apologize for not properly cleaning up the replica after the command finished execution.
The original plan was to create a single index to improve query speed. However, after monitoring performance, we realized that this approach was not enough. To optimize the queries, we had to create two indexes instead of one:
opinions_from_recap_idx
docketentry_id_docket_id_idx
Got it. @flooie, can we make this a sub-issue of the issue to do recap-into-opinions, so we can keep them together, please?
Once we have finished the recap into opinions ingestion pipeline and back import we should remove the DB index we created.