Module elasticsearch_dsl::search[][src]

Expand description

Module documentation

Re-exports

pub use self::aggregations::*;
pub use self::highlight::*;
pub use self::params::*;
pub use self::queries::params::*;
pub use self::queries::*;
pub use self::request::*;
pub use self::rescoring::*;
pub use self::sort::*;

Modules

An aggregation summarizes your data as metrics, statistics, or other analytics.

Highlighters enable you to get highlighted snippets from one or more fields in your search results so you can show users where the query matches are.

Value types accepted by leaf query clauses

Allows constructing Elasticsearch search query.

Allows you to execute a search query and get back search hits that match the query.

Rescore clause to run second query over original one results and that way give more accuracy for final results https://www.elastic.co/guide/en/elasticsearch/reference/6.8/search-request-rescore.html

Allows you to add one or more sorts on specific fields. Each sort can be reversed as well. The sort is defined on a per field level, with special field name for _score to sort by score, and _doc to sort by index order.

Structs

Represents a single matched document

Matched hits

Represents a single matched inner hit document

Represents inner hits

Matched inner hits

Represents inner hits

Nested document metadata

Search response

Number of shards touched with their states

Total number of matched documents

Enums

Relation to total number of matched documents