I use RavenDB at work. One thing I always forget is the query syntax for metadata in the studio. Hopefully next time I forget, I'll find the answer here!
Querying metadata for historical revisions
@metadata.Raven-Document-Revision-Status:Historical
Querying metadata for current revisions
@metadata.Raven-Document-Revision-Status:Current