Click or drag to resize
RiakFluentSearchGroup Method (Token, FuncTerm, Term)
Search the current field for the value token, and group that query with another provided by groupSetup.

Namespace:  RiakClient.Models.Search
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public Term Group(
	Token value,
	Func<Term, Term> groupSetup
)

Parameters

value
Type: RiakClient.Models.SearchToken
The token to search values for.
groupSetup
Type: SystemFuncTerm, Term
A FuncT, TResult that accepts a Term for fluent configuration, and returns that configured Term.

Return Value

Type: Term
A 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:
key:(key:foo OR key:bar)
.
See Also