pub struct Source {
pub slice: Option<SlicedScroll>,
pub remote: Option<RemoteSource>,
pub sort: Option<Sort>,
pub source: Option<Fields>,
pub index: Indices,
pub query: Option<Query>,
pub size: Option<u32>,
}Fields§
§slice: Option<SlicedScroll>§remote: Option<RemoteSource>§sort: Option<Sort>§source: Option<Fields>§index: IndicesA comma-separated list of data streams, indexes, and aliases used to limit the request.
Supports wildcards (*).
To target all data streams and indexes, omit this parameter or use * or _all.
query: Option<Query>§size: Option<u32>The number of documents to index per batch.
Use the size setting when indexing from a remote cluster. This ensures that batches fit in the on-heap buffer. The buffer defaults to a maximum size of 100MB.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Source
impl<'de> Deserialize<'de> for Source
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more