General search syntax

Search queries are built of tokens that are separated by spaces. Each token can be of following form:

Syntax Token type Description
<value> anonymous tokens basic filters
<key>:<value> named tokens advanced filters
order:<style> order tokens sort results
special:<value> special tokens filters usually tied to the logged in user

Most of anonymous and named tokens support ranged and composite values that take following form:

a,b,c will show things that satisfy either a, b or c.
1.. will show things that are equal to or greater than 1.
..4 will show things that are equal to at most 4.
1..4 will show things that are equal to 1, 2, 3 or 4.

Date/time values can be of following form:

Some fields, such as user names, can take wildcards (*).

All tokens can be negated by prepending them with -.

Order token values can be appended with ,asc or ,desc to control the sort direction, which can be also controlled by negating the whole token.

Example

Searching for posts with following query:

sea -fav-count:8.. type:swf uploader:Pirate

will show flash files tagged as sea, that were liked by seven people at most, uploaded by user Pirate.

Post search tokens

Anonymous tokens

Filter posts tagged with given <value>.

Named tokens

id having specific post ID
score having given score
uploader uploaded by given user
comment commented by given user
fav favorited by given user
fav-count favorited by given number of users
comment-count having given number of comments
tag-count having given number of tags
note-count having given number of annotations
feature-count having been featured given number of times
date posted at given date
file-size having given file size (in bytes)
image-width having given image width (where applicable)
image-height having given image height (where applicable)
image-area having given number of pixels (image width * image height)
type given type of posts (<value> can be either image, flash/swf, youtube/yt, video or animation)

Order tokens

random as random as it can get
id highest to lowest post ID
score highest scored
fav-count loved by most
comment-count most commented first
tag-count with most tags
note-count with most annotations
file-size largest files first
image-width widest images first
image-height tallest images first
image-area largest images first
creation-date newest to oldest (pretty much same as id)
edit-date like creation-date, only looks at last edit time
fav-date recently added to favorites by anyone
comment-date recently commented by anyone
feature-date recently featured
feature-count most often featured

Special tokens

liked posts liked by currently logged in user
disliked posts disliked by currently logged in user
fav posts added to favorites by currently logged in user
tumbleweed posts with score of 0, without comments and without favorites

User search tokens

Anonymous tokens

Same as name token.

Named tokens

name having given name (doesn't accept wildcards yet)
creation-date registered at given date
creation-time alias of creation-date
last-login-date whose most recent login date matches given date
last-login-time alias of last-login-date
login-date alias of last-login-date
login-time alias of last-login-date

Order tokens

random as random as it can get
name A to Z
creation-date newest to oldest
creation-time alias of creation-date
last-login-date recently active first
last-login-time alias of last-login-date
login-date alias of last-login-date
login-time alias of last-login-date

Special tokens

None.