com.blinkbox.books.elasticsearch

client

package client

Visibility
  1. Public
  2. All

Type Members

  1. case class AcknowledgedResponse(acknowledged: Boolean) extends Product with Serializable

  2. case class BulkResponse(took: Int, errors: Boolean, items: Seq[BulkResponseItem]) extends Product with Serializable

  3. sealed trait BulkResponseItem extends AnyRef

  4. case class DeleteResponse(found: Boolean, _index: String, _type: String, _id: String, _version: Long) extends Product with Serializable

  5. case class DeleteResponseItem(_index: String, _type: String, _id: String, _version: Long, status: StatusCode, found: Boolean, error: Option[String]) extends BulkResponseItem with Product with Serializable

  6. trait ElasticClient extends AnyRef

  7. trait ElasticRequest[T, Response] extends AnyRef

  8. sealed trait FailedRequest extends AnyRef

  9. case class GetResponse[T](found: Boolean, _index: String, _type: String, _id: String, _version: Option[Long], _source: Option[T]) extends Product with Serializable

  10. case class IndexResponse(_index: String, _type: String, _id: String, _version: Long, created: Boolean) extends Product with Serializable

  11. case class IndexResponseItem(_index: String, _type: String, _id: String, _version: Long, status: StatusCode, error: Option[String]) extends BulkResponseItem with Product with Serializable

  12. case class MultiGetResponse[T](docs: Seq[GetResponse[T]]) extends Product with Serializable

  13. case class RefreshIndicesResponse(_shards: ShardsStats) extends Product with Serializable

  14. case class RequestException(message: String, cause: Throwable) extends RuntimeException with FailedRequest with Product with Serializable

  15. case class SearchHit[T](_index: String, _type: String, _id: String, _source: T) extends Product with Serializable

  16. case class SearchHits[T](total: Int, hits: Seq[SearchHit[T]]) extends Product with Serializable

  17. case class SearchResponse[Document, Payload](_shards: ShardsStats, hits: SearchHits[Document], suggest: Option[Map[String, Seq[Suggestion[Payload]]]]) extends Product with Serializable

  18. case class ShardsStats(total: Int, successful: Int, failed: Int) extends Product with Serializable

  19. class SprayElasticClient extends ElasticClient

  20. case class StatusResponse(status: Int, name: String, cluster_name: String, tagline: String, version: Version) extends Product with Serializable

  21. case class Suggestion[Payload](text: String, offset: Int, length: Int, options: Seq[SuggestionOption[Payload]]) extends Product with Serializable

  22. case class SuggestionOption[Payload](text: String, score: Double, collate_match: Option[Boolean], payload: Option[Payload]) extends Product with Serializable

  23. case class UnsuccessfulResponse(statusCode: StatusCode, content: String) extends RuntimeException with FailedRequest with Product with Serializable

  24. case class UpdateResponse(_index: String, _type: String, _id: String, _version: Long) extends Product with Serializable

  25. case class UpdateResponseItem(_index: String, _type: String, _id: String, status: StatusCode, error: Option[String]) extends BulkResponseItem with Product with Serializable

  26. case class Version(number: String, build_hash: String, build_timestamp: String, build_snapshot: Boolean, lucene_version: String) extends Product with Serializable

Ungrouped