Packages

c

com.sumologic.elasticsearch.restlastic

RestlasticSearchClient2

class RestlasticSearchClient2 extends RestlasticSearchClient

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestlasticSearchClient2
  2. RestlasticSearchClient
  3. ScrollClient
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RestlasticSearchClient2(endpointProvider: EndpointProvider, signer: Option[RequestSigner] = None, indexExecutionCtx: ExecutionContext = ExecutionContext.Implicits.global, searchExecutionCtx: ExecutionContext = ExecutionContext.Implicits.global)(implicit timeout: Timeout = Timeout(30 seconds))

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addScript(scriptId: String, scriptSource: dsl.Dsl.ScriptSource): Future[AddScriptResponse]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def bucketAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketAggregationResultBody]
    Definition Classes
    RestlasticSearchClient
  7. def bucketNestedAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketNested]
    Definition Classes
    RestlasticSearchClient
  8. def buildUri(path: String, query: Query = Uri.Query.Empty): Uri
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient
  9. def bulkDelete(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document]): Future[Seq[BulkItem]]
    Definition Classes
    RestlasticSearchClient
  10. def bulkIndex(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document]): Future[Seq[BulkItem]]
    Definition Classes
    RestlasticSearchClient
  11. def bulkIndex(bulk: dsl.Dsl.Bulk): Future[Seq[BulkItem]]
    Definition Classes
    RestlasticSearchClient
  12. def bulkUpdate(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, documents: Seq[dsl.Dsl.Document], retryOnConflictOpt: Option[Int] = None): Future[Seq[BulkItem]]
    Definition Classes
    RestlasticSearchClient
  13. def cardinalityAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[CardinalityValue]
    Definition Classes
    RestlasticSearchClient
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. def count(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot): Future[Int]
    Definition Classes
    RestlasticSearchClient
  16. def count(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot): Future[Int]
    Definition Classes
    RestlasticSearchClient
  17. def createIndex(index: dsl.Dsl.Index, settings: Option[dsl.Dsl.IndexSetting] = None): Future[RawJsonResponse]
  18. val defaultResultWindow: String
    Definition Classes
    ScrollClient
  19. def deleteById(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, id: String): Future[DeleteResponse]
    Definition Classes
    RestlasticSearchClient
  20. def deleteByQuery(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, waitForCompletion: Boolean, proceedOnConflicts: Boolean, refreshAfterDeletion: Boolean, useAutoSlices: Boolean): Future[RawJsonResponse]
  21. def deleteByQuery(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, waitForCompletion: Boolean, proceedOnConflicts: Boolean, refreshAfterDeletion: Boolean, useAutoSlices: Boolean): Future[RawJsonResponse]
  22. def deleteDocuments(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, pluginEnabled: Boolean = false): Future[Map[dsl.Dsl.Index, DeleteResponse]]
    Definition Classes
    RestlasticSearchClient
  23. def deleteIndex(index: dsl.Dsl.Index): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  24. def deleteScript(scriptId: String, lang: String = ""): Future[Boolean]
  25. def documentExistsById(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, id: String): Future[Boolean]
    Definition Classes
    RestlasticSearchClient
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  29. def flush(index: dsl.Dsl.Index): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def getMapping(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  32. def getScript(scriptId: String, lang: String = ""): Future[ScriptResponse]
  33. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def index(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, doc: dsl.Dsl.Document): Future[IndexResponse]
    Definition Classes
    RestlasticSearchClient
  35. val indexExecutionCtx: ExecutionContext
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. val logger: Logger
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def putMapping(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, mapping: dsl.Dsl.Mapping): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  42. def query(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.RootObject, rawJsonStr: Boolean = true, uriQuery: Query = Uri.Query.Empty, profile: Boolean = false): Future[SearchResponse]
    Definition Classes
    RestlasticSearchClient
  43. def queryIndices(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.RootObject, rawJsonStr: Boolean = true, uriQuery: Query = Uri.Query.Empty, profile: Boolean = false): Future[SearchResponse]
    Definition Classes
    RestlasticSearchClient
  44. def ready: Boolean
    Definition Classes
    RestlasticSearchClient
  45. def refresh(indices: Seq[dsl.Dsl.Index]): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  46. def refresh(index: dsl.Dsl.Index): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  47. def runEsCommand(op: dsl.Dsl.RootObject, endpoint: String, method: HttpMethod = HttpMethods.POST, query: Query = Uri.Query.Empty, profile: Boolean = false)(implicit ec: ExecutionContext): Future[RawJsonResponse]
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient
  48. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod, query: Query, contentType: ContentType)(implicit ec: ExecutionContext): Future[RawJsonResponse]
  49. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod, query: Query, request: HttpRequest)(implicit ec: ExecutionContext): Future[RawJsonResponse]
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient
  50. def runRawEsRequest(op: String, endpoint: String, method: HttpMethod = HttpMethods.POST, query: Query = Uri.Query.Empty, contentSubType: String = "json")(implicit ec: ExecutionContext = ExecutionContext.Implicits.global): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
  51. def sampleAggregation(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.AggregationQuery): Future[BucketAggregationResultBody]
    Definition Classes
    RestlasticSearchClient
  52. def scroll(scrollId: ScrollId, resultWindowOpt: Option[String] = None): Future[(ScrollId, SearchResponse)]
  53. def scrollDelete(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, scrollId: ScrollId, acc: Map[dsl.Dsl.Index, DeleteResponse], scrollingFn: (ScrollId) ⇒ Future[(ScrollId, SearchResponse)]): Future[Map[dsl.Dsl.Index, DeleteResponse]]
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient2RestlasticSearchClient
  54. def startScrollRequest(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String], fromOpt: Option[Int], sizeOpt: Option[Int], preference: Option[String], params: Map[String, String]): Future[(ScrollId, SearchResponse)]
    Attributes
    protected
    Definition Classes
    RestlasticSearchClient
  55. def startScrollRequest(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String] = None, fromOpt: Option[Int] = None, sizeOpt: Option[Int] = None, preference: Option[String] = None): Future[(ScrollId, SearchResponse)]
    Definition Classes
    ScrollClient
  56. def startScrollRequestIndices(indices: Seq[dsl.Dsl.Index], tpe: dsl.Dsl.Type, query: dsl.Dsl.QueryRoot, resultWindowOpt: Option[String] = None, fromOpt: Option[Int] = None, sizeOpt: Option[Int] = None, preference: Option[String] = None): Future[(ScrollId, SearchResponse)]
    Definition Classes
    RestlasticSearchClient2ScrollClient
  57. def suggest(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, query: dsl.Dsl.SuggestRoot): Future[Map[String, List[String]]]
    Definition Classes
    RestlasticSearchClient
  58. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  59. implicit val system: ActorSystem
    Definition Classes
    RestlasticSearchClient
  60. implicit val timeout: Timeout
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. val version: V2.type
  63. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def deleteDocument(index: dsl.Dsl.Index, tpe: dsl.Dsl.Type, deleteQuery: dsl.Dsl.QueryRoot, pluginEnabled: Boolean = false): Future[RawJsonResponse]
    Definition Classes
    RestlasticSearchClient
    Annotations
    @deprecated
    Deprecated

    When plugin is not enabled this function doesn't handle pagination, so it deletes only first page of query results. Replaced by deleteDocuments.

Inherited from RestlasticSearchClient

Inherited from ScrollClient

Inherited from AnyRef

Inherited from Any

Ungrouped