FuzzyQuery

zio.elasticsearch.query.FuzzyQuery
sealed trait FuzzyQuery[S] extends ElasticQuery[S]

Attributes

Graph
Supertypes
trait ElasticQuery[S]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def fuzziness(value: String): FuzzyQuery[S]

Sets the fuzziness parameter for the zio.elasticsearch.query.FuzzyQuery. The fuzziness value refers to the ability to find results that are similar to, but not exactly the same as, the search term or query.

Sets the fuzziness parameter for the zio.elasticsearch.query.FuzzyQuery. The fuzziness value refers to the ability to find results that are similar to, but not exactly the same as, the search term or query.

Value parameters

value

the text value to represent the 'fuzziness' field

Attributes

Returns

an instance of the zio.elasticsearch.query.FuzzyQuery enriched with the fuzziness parameter.

def maxExpansions(value: Int): FuzzyQuery[S]

Sets the maxExpansions parameter for this zio.elasticsearch.query.ElasticQuery. The maxExpansions value defines the maximum number of terms the fuzzy query will match before halting the search.

Sets the maxExpansions parameter for this zio.elasticsearch.query.ElasticQuery. The maxExpansions value defines the maximum number of terms the fuzzy query will match before halting the search.

Value parameters

value

the positive whole number value for maxExpansions parameter

Attributes

Returns

an instance of the zio.elasticsearch.query.ElasticQuery enriched with the maxExpansions parameter.

def prefixLength(value: Int): FuzzyQuery[S]

Sets the prefixLength parameter for this zio.elasticsearch.query.ElasticQuery. The prefixLength value refers to the number of beginning characters left unchanged when creating expansions.

Sets the prefixLength parameter for this zio.elasticsearch.query.ElasticQuery. The prefixLength value refers to the number of beginning characters left unchanged when creating expansions.

Value parameters

value

the positive whole number value for prefixLength parameter

Attributes

Returns

an instance of the zio.elasticsearch.query.ElasticQuery enriched with the prefixLength parameter.