Instance Constructors
-
new
ElasticClient(jestClient: JestClient)(implicit ec: ExecutionContext, mat: Materializer)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
bulkInsertOrUpdate[T](documents: Seq[(ElasticSearchId, T)], elasticType: ElasticType, indexName: IndexName)(implicit arg0: Writes[T]): Future[JestResult]
-
def
clone(): AnyRef
-
def
createIndex(indexName: IndexName, shards: Int = 5, replica: Int = 0): Future[JestResult]
-
def
createMapping(indexName: IndexName, typeName: ElasticType, mappingBody: JsValue): Future[JestResult]
-
implicit
val
ec: ExecutionContext
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
execute[T <: JestResult](request: Action[T]): Future[T]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getDocument[T](id: ElasticSearchId, elasticType: ElasticType, indexName: IndexName)(implicit arg0: Reads[T]): Future[Option[T]]
-
def
getMapping(indexName: IndexName): Future[JestResult]
-
def
getSettings(indexName: IndexName): Future[JestResult]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
lazy val
log: Logger
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
refreshIndex(indexNames: IndexName*): Future[JestResult]
-
def
search[T](indexName: IndexName, query: JsValue)(implicit arg0: Reads[T]): Future[Seq[T]]
-
def
searchWithScroll[T](indexName: IndexName, query: JsValue, searchContextLifetime: Duration)(implicit arg0: Reads[T]): Source[T, NotUsed]
-
def
shutdown(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
upsertDocument[T](id: ElasticSearchId, document: T, elasticType: ElasticType, indexName: IndexName)(implicit arg0: Writes[T]): Future[JestResult]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any