Skip to content

Commit

Permalink
Merge pull request #1166 from girder/custom-idx-names
Browse files Browse the repository at this point in the history
Add manual index names where index names might get too long
  • Loading branch information
zachmullen authored May 22, 2023
2 parents db3b41a + c3e4c48 commit 40a5490
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,22 @@ def initialize(self):
('bbox.lowx', SortDir.DESCENDING),
('bbox.highx', SortDir.ASCENDING),
('bbox.size', SortDir.DESCENDING),
], {}),
], {
'name': 'annotationBboxIdx'
}),
([
('annotationId', SortDir.ASCENDING),
('bbox.size', SortDir.DESCENDING),
], {}),
], {
'name': 'annotationBboxSizeIdx'
}),
([
('annotationId', SortDir.ASCENDING),
('_version', SortDir.DESCENDING),
('element.group', SortDir.ASCENDING),
], {}),
], {
'name': 'annotationGroupIdx'
}),
([
('created', SortDir.ASCENDING),
('_version', SortDir.ASCENDING),
Expand Down

0 comments on commit 40a5490

Please sign in to comment.