RiakFluentSearchGroup Method (String, FuncTerm, Term) |
Search the current field for value,
and group that query with another provided by groupSetup.
Namespace:
RiakClient.Models.Search
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public Term Group(
string value,
Func<Term, Term> groupSetup
)
member Group :
value : string *
groupSetup : Func<Term, Term> -> Term
Parameters
- value
- Type: SystemString
The field to search values for. - groupSetup
- Type: SystemFuncTerm, Term
An FuncT, TResult that accepts a Term for fluent configuration,
and returns that configured Term.
Return Value
Type:
TermA constructed search
Term.
Remarks
Configure the phase with a lambda similar to:
new RiakFluentSearch("bucket", "key").Group("foo", t => t.Or("bar"));
The above filter will return the following grouped query string:
.
See Also