Module elastic::client::responses [] [src]

Response types for the Elasticsearch REST API.

All high-level builders return one of these response types for you. This module also contains helpers that can be used to parse responses from a raw HttpResponse.

Modules

parse

Utility types for response parsing.

Structs

AggregationIterator

Aggregator that traverses the results from Elasticsearch's Aggregations and returns a result row by row in a table-styled fashion.

Aggregations

Type Struct to hold a generic serde_json::Value tree of the Aggregation results.

BulkErrorsResponse

Response for a bulk request.

BulkItem

A successful bulk response item.

BulkItemError

A failed bulk response item.

BulkItems

Bulk items split by success or failure.

BulkResponse

Response for a bulk request.

CommandResponse

A standard command acknowledgement response.

GetResponseOf

Response for a get document request.

Hit

Full metadata and source for a single hit.

Hits

Struct to hold the search's Hits, serializable to type T or serde_json::Value

HttpResponse

A raw HTTP response that can be buffered using Read.

IndexResponse

Response for an index document request.

PingResponse

Response for a cluster ping request.

ResponseBuilder

A builder for a response.

SearchResponseOf

Response for a search request.

Shards

Returned hits metadata.

Enums

BulkAction

The bulk action being performed.

Type Definitions

GetResponse

A generic Get Document API response.

SearchResponse

A generic Search API response.