ayende/ravendb — pull request #238 by tzarger (2013-02-03 18:50:31+00:00)
Title: Added Extensions ToFacets and ToFacetsLazily to LuceneQuery - See note below about ToFacetsAsync

To ease use of Facets within a LuceneQuery, I added the extensions of
ToFacets and ToFacetsLazily for convenience. Added additional tests around these new
extensions - all passing.

Was not sure how to cast IAsyncDocumentQuery as ( (
RavenQueryInspector )queryable ) so I did not implement ToFacetsAsync.
If you would like to comment and indicate the right way to get IAsyncDocumentQuery into RevenQueryInspector or some alternative, I could add
that before you commit this pull request.