TermSuggestion

com.sksamuel.elastic4s.requests.searches.suggestion.TermSuggestion
case class TermSuggestion(name: String, fieldname: String, text: Option[String], accuracy: Option[Double], lowercaseTerms: Option[Boolean], maxEdits: Option[Int], maxInspections: Option[Int], maxTermFreq: Option[Double], minDocFreq: Option[Double], minWordLength: Option[Int], prefixLength: Option[Int], sort: Option[SortBy], stringDistance: Option[StringDistance], suggestMode: Option[SuggestMode], analyzer: Option[String], size: Option[Int], shardSize: Option[Int]) extends Suggestion

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Suggestion
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def accuracy(accuracy: Double): TermSuggestion
override def analyzer(analyzer: String): TermSuggestion

Attributes

Definition Classes
def lowercaseTerms(lowercaseTerms: Boolean): TermSuggestion
def maxEdits(maxEdits: Int): TermSuggestion
def maxInspections(maxInspections: Int): TermSuggestion
def maxTermFreq(maxTermFreq: Double): TermSuggestion
def minDocFreq(minDocFreq: Double): TermSuggestion
def minWordLength(minWordLength: Int): TermSuggestion
def mode(suggestMode: String): TermSuggestion
def mode(suggestMode: SuggestMode): TermSuggestion
def prefixLength(prefixLength: Int): TermSuggestion
override def shardSize(shardSize: Int): TermSuggestion

Attributes

Definition Classes
override def size(size: Int): TermSuggestion

Attributes

Definition Classes
def sort(sort: SortBy): TermSuggestion
def stringDistance(dist: String): TermSuggestion
override def text(text: String): TermSuggestion

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product