Click or drag to resize
TermAndProximity Method (Double, String)
Combine this Term, using a logical AND, with a new one that searches the current field for a set of words that are within a certain distance (proximity) of each other.

Namespace:  RiakClient.Models.Search
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public Term AndProximity(
	double proximity,
	params string[] words
)

Parameters

proximity
Type: SystemDouble
The maximum distance the words can be from each other.
words
Type: SystemString
The set of words to find within a certain distance of each other.

Return Value

Type: Term
A constructed search Term.
See Also