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

Suggested changes to indices post consult session #4308

Merged
merged 104 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
f4d0790
Suggested changes to indices post consult session
dnil Dec 21, 2023
6fc0a5d
Merge branch 'main' into index_suggestions
dnil Dec 21, 2023
66be558
changelog
dnil Dec 21, 2023
40d2f22
typo
dnil Dec 21, 2023
4468130
revert thaw
dnil Dec 21, 2023
0adb61c
Merge branch 'main' into index_suggestions
dnil Jan 8, 2024
9b828a1
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
449446f
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
734fa4b
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
492d5c9
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
5ae76c2
Merge branch 'main' into index_suggestions
dnil Jan 12, 2024
68e3152
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
1c3b391
Merge branch 'main' into index_suggestions
northwestwitch Jan 12, 2024
aad1706
Merge branch 'main' into index_suggestions
northwestwitch Jan 15, 2024
12b5a66
Merge branch 'main' into index_suggestions
dnil Jan 15, 2024
2dcdc2a
Merge branch 'main' into index_suggestions
northwestwitch Jan 15, 2024
1c6c51b
Merge branch 'main' into index_suggestions
northwestwitch Jan 15, 2024
7135986
Merge branch 'main' into index_suggestions
dnil Jan 16, 2024
50664b9
Merge branch 'main' into index_suggestions
northwestwitch Jan 16, 2024
5e49f9c
Merge branch 'main' into index_suggestions
dnil Jan 16, 2024
f072005
Merge branch 'main' into index_suggestions
dnil Jan 16, 2024
7a893a3
Merge branch 'main' into index_suggestions
northwestwitch Jan 17, 2024
434f71e
Merge branch 'main' into index_suggestions
northwestwitch Jan 17, 2024
2465342
Merge branch 'main' into index_suggestions
northwestwitch Jan 19, 2024
d3bb7ea
Merge branch 'main' into index_suggestions
dnil Jan 19, 2024
d256301
Merge branch 'main' into index_suggestions
northwestwitch Jan 19, 2024
855f68f
Merge branch 'main' into index_suggestions
northwestwitch Jan 22, 2024
1bed942
Merge branch 'main' into index_suggestions
northwestwitch Jan 22, 2024
ecaf15c
Merge branch 'main' into index_suggestions
dnil Jan 24, 2024
b47bcbb
Merge branch 'main' into index_suggestions
northwestwitch Jan 24, 2024
f9539d4
Merge branch 'main' into index_suggestions
northwestwitch Jan 24, 2024
c2bc1fe
Merge branch 'main' into index_suggestions
northwestwitch Jan 24, 2024
8fbd810
Merge branch 'main' into index_suggestions
dnil Jan 25, 2024
8ac9f2f
Update scout/constants/indexes.py
dnil Jan 25, 2024
e812542
Merge branch 'main' into index_suggestions
northwestwitch Jan 26, 2024
0c330e7
Merge branch 'main' into index_suggestions
northwestwitch Jan 26, 2024
ca0d030
Changelog
dnil Jan 26, 2024
71c90c1
Merge branch 'main' into index_suggestions
northwestwitch Jan 29, 2024
f84c434
Merge branch 'main' into index_suggestions
northwestwitch Jan 30, 2024
5593bfc
Merge branch 'main' into index_suggestions
northwestwitch Jan 30, 2024
9661205
Merge branch 'main' into index_suggestions
northwestwitch Jan 30, 2024
fca0068
Merge branch 'main' into index_suggestions
northwestwitch Jan 31, 2024
27a89fc
Merge branch 'main' into index_suggestions
northwestwitch Feb 1, 2024
00c095d
Merge branch 'main' into index_suggestions
northwestwitch Feb 1, 2024
8eec67c
Merge branch 'main' into index_suggestions
northwestwitch Feb 2, 2024
3386b0d
Merge branch 'main' into index_suggestions
northwestwitch Feb 2, 2024
3d649f6
Merge branch 'main' into index_suggestions
northwestwitch Feb 5, 2024
1f5d9ca
Merge branch 'main' into index_suggestions
northwestwitch Feb 7, 2024
e3b34cb
Merge branch 'main' into index_suggestions
northwestwitch Feb 7, 2024
b682239
Merge branch 'main' into index_suggestions
northwestwitch Feb 8, 2024
ccc7171
Merge branch 'main' into index_suggestions
northwestwitch Feb 8, 2024
5fda135
Merge branch 'main' into index_suggestions
northwestwitch Feb 8, 2024
ac8ef77
Merge branch 'main' into index_suggestions
dnil Feb 9, 2024
9227124
Merge branch 'main' into index_suggestions
dnil Feb 9, 2024
535e1e4
Merge branch 'main' into index_suggestions
dnil Feb 12, 2024
167f01c
Merge branch 'main' into index_suggestions
TereseBo Feb 15, 2024
3692e07
Merge branch 'main' into index_suggestions
northwestwitch Feb 16, 2024
6c6c803
Merge branch 'main' into index_suggestions
northwestwitch Feb 19, 2024
57780e2
Merge branch 'main' into index_suggestions
dnil Feb 19, 2024
5703b41
Merge branch 'main' into index_suggestions
northwestwitch Feb 19, 2024
c656dd7
Merge branch 'main' into index_suggestions
northwestwitch Feb 19, 2024
ddd24a7
Merge branch 'main' into index_suggestions
dnil Feb 19, 2024
bf039dd
Merge branch 'main' into index_suggestions
northwestwitch Feb 19, 2024
3a6009b
Merge branch 'main' into index_suggestions
dnil Feb 20, 2024
e144d03
Merge branch 'main' into index_suggestions
dnil Feb 20, 2024
64a45ce
Merge branch 'main' into index_suggestions
dnil Feb 20, 2024
76b8c01
Merge branch 'main' into index_suggestions
dnil Feb 20, 2024
3ff675f
Merge branch 'main' into index_suggestions
northwestwitch Feb 20, 2024
62c1abd
Merge branch 'main' into index_suggestions
TereseBo Feb 20, 2024
796d2f0
Merge branch 'main' into index_suggestions
northwestwitch Feb 20, 2024
752fdf5
Merge branch 'main' into index_suggestions
dnil Feb 21, 2024
a4538b2
Merge branch 'main' into index_suggestions
dnil Feb 21, 2024
64dfc9e
Merge branch 'main' into index_suggestions
northwestwitch Feb 27, 2024
f541ef6
Merge branch 'main' into index_suggestions
northwestwitch Feb 27, 2024
3a6043f
Merge branch 'main' into index_suggestions
northwestwitch Feb 28, 2024
c7751b6
Merge branch 'main' into index_suggestions
northwestwitch Feb 28, 2024
f3057b2
Merge branch 'main' into index_suggestions
dnil Feb 29, 2024
e0536a0
Merge branch 'main' into index_suggestions
TereseBo Mar 1, 2024
5b43c54
Merge branch 'main' into index_suggestions
TereseBo Mar 4, 2024
94b29e9
Merge branch 'main' into index_suggestions
TereseBo Mar 4, 2024
5d19eea
Merge branch 'main' into index_suggestions
dnil Mar 4, 2024
63476a6
Merge branch 'main' into index_suggestions
northwestwitch Mar 5, 2024
56d10d6
Merge branch 'main' into index_suggestions
northwestwitch Mar 5, 2024
233073e
Merge branch 'main' into index_suggestions
dnil Mar 5, 2024
7423544
Merge branch 'main' into index_suggestions
northwestwitch Mar 5, 2024
f98723b
Merge branch 'main' into index_suggestions
northwestwitch Mar 7, 2024
e5291ad
Merge branch 'main' into index_suggestions
dnil Mar 7, 2024
b066d39
Merge branch 'main' into index_suggestions
dnil Mar 8, 2024
fa2aa98
Merge branch 'main' into index_suggestions
TereseBo Mar 11, 2024
e1dd9bb
Merge branch 'main' into index_suggestions
dnil Mar 12, 2024
46684de
Merge branch 'main' into index_suggestions
dnil Mar 12, 2024
7be1429
Merge branch 'main' into index_suggestions
northwestwitch Mar 13, 2024
60e8f76
Merge branch 'main' into index_suggestions
TereseBo Mar 13, 2024
7192d6f
Merge branch 'main' into index_suggestions
TereseBo Mar 15, 2024
abe95e6
Merge branch 'main' into index_suggestions
northwestwitch Mar 15, 2024
0d476f1
Merge branch 'main' into index_suggestions
TereseBo Mar 18, 2024
c077982
Merge branch 'main' into index_suggestions
northwestwitch Mar 19, 2024
998518e
Merge branch 'main' into index_suggestions
dnil Mar 20, 2024
4e0d856
Merge branch 'main' into index_suggestions
northwestwitch Mar 20, 2024
756594b
Merge branch 'main' into index_suggestions
northwestwitch Mar 21, 2024
cc3d3a9
Merge branch 'main' into index_suggestions
northwestwitch Mar 22, 2024
4975559
Merge branch 'main' into index_suggestions
northwestwitch Mar 25, 2024
56f5035
Merge branch 'main' into index_suggestions
TereseBo Mar 25, 2024
5305875
Merge branch 'main' into index_suggestions
northwestwitch Mar 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ About changelog [here](https://keepachangelog.com/en/1.0.0/)
### Fixed
- Command line crashing with error when updating a user that doesn't exist
- Thaw coloredlogs - 15.0.1 restores errorhandler issue
- Optimised indexes to address slow queries
dnil marked this conversation as resolved.
Show resolved Hide resolved


## [4.75]
### Added
Expand Down
18 changes: 5 additions & 13 deletions scout/constants/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,15 @@
),
],
"variant": [
IndexModel(
[
("case_id", ASCENDING),
("category", ASCENDING),
("variant_rank", ASCENDING),
],
name="caseid_variantrank",
background=True,
),
IndexModel(
[
("case_id", ASCENDING),
("category", ASCENDING),
("variant_type", ASCENDING),
("rank_score", DESCENDING),
("variant_rank", ASCENDING),
("hgnc_ids", ASCENDING),
],
name="caseid_category_varianttype_rankscore",
name="caseid_category_varianttype_variantrank_hgncids",
background=True,
),
IndexModel(
Expand All @@ -62,11 +54,11 @@
),
IndexModel(
[
("variant_id", ASCENDING),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I think we are good with those really; the rest we had was for indexes that we keep around, but that are not in the official constants file. Before we start dropping on stage, some testing is in order so we know it is safe to do on prod with consistent performance.

("case_id", ASCENDING),
("category", ASCENDING),
("variant_id", ASCENDING),
],
name="caseid_variantid",
name="caseid_variantid_caseid_category",
dnil marked this conversation as resolved.
Show resolved Hide resolved
background=True,
),
IndexModel(
Expand Down