IndexRequest

com.sksamuel.elastic4s.requests.indexes.IndexRequest
case class IndexRequest(index: Index, id: Option[String], createOnly: Option[Boolean], refresh: Option[RefreshPolicy], parent: Option[String], pipeline: Option[String], routing: Option[String], timeout: Option[String], version: Option[Long], ifSeqNo: Option[Long], ifPrimaryTerm: Option[Long], versionType: Option[VersionType], fields: Seq[FieldValue], source: Option[String]) extends BulkCompatibleRequest

Attributes

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

Members list

Value members

Concrete methods

def createOnly(createOnly: Boolean): IndexRequest
def doc(json: String): IndexRequest
def doc[T : Indexable](t: T): IndexRequest
def fieldValues(fields: FieldValue*): IndexRequest
def fields(_fields: (String, Any)*): IndexRequest
def fields(_fields: Iterable[(String, Any)]): IndexRequest
def fields(fields: Map[String, Any]): IndexRequest
def id(id: String): IndexRequest
def ifPrimaryTerm(ifPrimaryTerm: Long): IndexRequest
def ifSeqNo(ifSeqNo: Long): IndexRequest
def parent(parent: String): IndexRequest
def pipeline(pipeline: String): IndexRequest
def routing(routing: String): IndexRequest
def source(json: String): IndexRequest
def source[T](t: T)(implicit indexable: Indexable[T]): IndexRequest
def timeout(timeout: String): IndexRequest
def timeout(duration: FiniteDuration): IndexRequest
def version(version: Long): IndexRequest
def versionType(versionType: VersionType): IndexRequest
def withId(id: String): IndexRequest

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product