Mikeon Stack Overflow • Recommends
On “What's the best way to store/query multiple types within a RavenDB collection?”
The "official" way to solve this problem appears to be a Polymorphic Index: https://ravendb.net/docs/article-page/3.0/csharp/indexes/indexing-polymorphic-data
Here is a blog entry discussing this approach in detail: http://www.philliphaydon.com/2011/12/14/ravendb-inheritance-revisited/
There is also a video here: link to this video