adds index for searching across all users' tagged images
This commit is contained in:
parent
cc7ff3c505
commit
1580c7c5ce
@ -95,6 +95,12 @@ MEDIAENTRY_INDEXES = {
|
||||
# Used for showing media items matching a tag search, most recent first.
|
||||
'index': [('uploader', ASCENDING),
|
||||
('tags', DESCENDING),
|
||||
('created', DESCENDING)]},
|
||||
|
||||
'tags_created': {
|
||||
# Indexing media tags, and timestamp (across all users)
|
||||
# This is used for a front page tag search.
|
||||
'index': [('tags', DESCENDING),
|
||||
('created', DESCENDING)]}}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user