Struct elasticsearch_dsl::search::queries::specialized::Document [−][src]
pub struct Document { /* fields omitted */ }Expand description
One of like and unlike types which has like document structure
Implementations
Creates an instance of Document
id- document id as string.
The index that contains the document. Required if no index is specified in the request URI.
The key for the primary shard the document resides on. Required if routing is used during indexing.
If false, excludes all _source fields. Defaults to true.
pub fn stored_fields<I>(self, stored_fields: I) -> Self where
I: IntoIterator,
I::Item: ToString,
pub fn stored_fields<I>(self, stored_fields: I) -> Self where
I: IntoIterator,
I::Item: ToString,
The stored fields you want to retrieve.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Document
impl UnwindSafe for Document
Blanket Implementations
Mutably borrows from an owned value. Read more