![]() | IFulltextQueryTDocumentHaving Method |
Namespace: SphinxConnector.FluentApi
Exception | Condition |
---|---|
ArgumentNullException | Occurs when predicate is null. |
InvalidOperationException | Occurs when this method called more than once for query. |
using (IFulltextSession fulltextSession = fulltextStore.StartSession()) { var results = fulltextSession.Query<Product>(). Match("a product"). GroupBy(p => p.VendorId). Select(p => new { p, Count = Projection.Count() }). Having(p => p.Count > 1). ToList(); }