score:2

Accepted answer

create a map-reduce index and then query on it.
https://ravendb.net/docs/article-page/4.2/csharp/indexes/map-reduce-indexes

for example, in this example, you can query on 'category' field because it was indexed (meaning it was part of the map-reduce index definition)

see short demo examples in: https://demo.ravendb.net/


Related Query

More Query from same tag