All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sksamuel.elastic4s.requests.searches.suggestion.Suggestion.scala Maven / Gradle / Ivy

There is a newer version: 8.15.4
Show newest version
package com.sksamuel.elastic4s.requests.searches.suggestion

trait Suggestion {

  def name: String
  def fieldname: String

  def size: Option[Int]
  def shardSize: Option[Int]
  def text: Option[String]
  def analyzer: Option[String]

  def size(size: Int): Suggestion
  def shardSize(shardSize: Int): Suggestion
  def text(text: String): Suggestion
  def analyzer(analyzer: String): Suggestion
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy