Click or drag to resize
TermAndProximity Method (String, Double, String)
Combine this Term, using a logical AND, with a new one that searches the field 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(
	string field,
	double proximity,
	params string[] words
)

Parameters

field
Type: SystemString
The other field to search.
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