Builder

class Builder(field: String)

A builder for SynonymQuery.

Constructors

Link copied to clipboard
constructor(field: String)

Functions

Link copied to clipboard

Adds the provided term as a synonym.

Adds the provided term as a synonym, document frequencies of this term will be boosted by boost.

Link copied to clipboard

Builds the SynonymQuery.