Function rs_es::do_req
[-] [+]
- [src]
+ [src]
pub fn do_req(resp: &mut Response) -> Result<(StatusCode, Option<Json>), EsError>
Process the result of an HTTP request, returning the status code and the
Json
result (if the result had a body) or an EsError
if there were any
errors
Enum rs_es::operations::bulk::ActionType
[-] [+]
- [src]
+ [src]
pub enum ActionType { Index, Create, diff --git a/rs-es/rs_es/operations/bulk/index.html b/rs-es/rs_es/operations/bulk/index.html index 6d31721..09803f7 100644 --- a/rs-es/rs_es/operations/bulk/index.html +++ b/rs-es/rs_es/operations/bulk/index.html @@ -43,7 +43,7 @@Module rs_es::
+ [src]operations:: [-] [+] - [src]bulk Implementation of the Bulk API
Structs
diff --git a/rs-es/rs_es/operations/bulk/sidebar-items.js b/rs-es/rs_es/operations/bulk/sidebar-items.js index b177c0f..1f39d15 100644 --- a/rs-es/rs_es/operations/bulk/sidebar-items.js +++ b/rs-es/rs_es/operations/bulk/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["ActionType",""]],"struct":[["Action","A bulk operation consists of one or more `Action`s."],["ActionResult","The result of specific actions"],["ActionSource",""],["BulkOperation",""],["BulkResult","The result of a bulk operation"]]}); \ No newline at end of file +initSidebarItems({"struct":[["Action","A bulk operation consists of one or more `Action`s."],["ActionResult","The result of specific actions"],["ActionSource",""],["BulkOperation",""],["BulkResult","The result of a bulk operation"]],"enum":[["ActionType",""]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/bulk/struct.Action.html b/rs-es/rs_es/operations/bulk/struct.Action.html index 672aa96..d927cf9 100644 --- a/rs-es/rs_es/operations/bulk/struct.Action.html +++ b/rs-es/rs_es/operations/bulk/struct.Action.html @@ -43,7 +43,7 @@
Struct rs_es::
+ [src]operations:: [-] [+] - [src]bulk:: Action pub struct Action { // some fields omitted }A bulk operation consists of one or more
@@ -67,7 +67,7 @@Action
s.
fn with_doc_type<T: Into<String>>(self, val: T) -> Self
fn with_id<T: Into<String>>(self, val: T) -> Self
-
fn with_version<T: Into<i64>>(self, val: T) -> Self
+
fn with_version_type<T: Into<VersionType>>(self, val: T) -> Self
fn with_version_type<T: Into<VersionType>>(self, val: T) -> Self
fn with_routing<T: Into<String>>(self, val: T) -> Self
fn with_parent<T: Into<String>>(self, val: T) -> Self
diff --git a/rs-es/rs_es/operations/bulk/struct.ActionResult.html b/rs-es/rs_es/operations/bulk/struct.ActionResult.html index 2ea4e96..c112f3e 100644 --- a/rs-es/rs_es/operations/bulk/struct.ActionResult.html +++ b/rs-es/rs_es/operations/bulk/struct.ActionResult.html @@ -43,7 +43,7 @@
fn with_timestamp<T: Into<String>>(self, val: T) -> Self
Struct rs_es::
+ [src]operations:: [-] [+] - [src]bulk:: ActionResult pub struct ActionResult { pub action: ActionType, pub index: String, diff --git a/rs-es/rs_es/operations/bulk/struct.ActionSource.html b/rs-es/rs_es/operations/bulk/struct.ActionSource.html index 0afe913..2536474 100644 --- a/rs-es/rs_es/operations/bulk/struct.ActionSource.html +++ b/rs-es/rs_es/operations/bulk/struct.ActionSource.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]bulk:: ActionSource pub struct ActionSource { // some fields omitted }Methods
impl ActionSource
diff --git a/rs-es/rs_es/operations/bulk/struct.BulkOperation.html b/rs-es/rs_es/operations/bulk/struct.BulkOperation.html index 98e2cd2..66d7143 100644 --- a/rs-es/rs_es/operations/bulk/struct.BulkOperation.html +++ b/rs-es/rs_es/operations/bulk/struct.BulkOperation.html @@ -43,14 +43,14 @@
fn new() -> ActionSource
diff --git a/rs-es/rs_es/operations/bulk/struct.BulkResult.html b/rs-es/rs_es/operations/bulk/struct.BulkResult.html index 140e575..1be210f 100644 --- a/rs-es/rs_es/operations/bulk/struct.BulkResult.html +++ b/rs-es/rs_es/operations/bulk/struct.BulkResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]bulk:: BulkOperation pub struct BulkOperation<'a, 'b> { // some fields omitted }Methods
impl<'a, 'b> BulkOperation<'a, 'b>
fn new(client: &'a mut Client, actions: &'b [Action]) -> BulkOperation<'a, 'b>
fn with_index(&'b mut self, index: &'b str) -> &'b mut Self
-
fn with_doc_type(&'b mut self, doc_type: &'b str) -> &'b mut Self
-
fn with_consistency<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_refresh<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_consistency<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_refresh<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'b mut self) -> Result<BulkResult, EsError>
Struct rs_es::
+ [src]operations:: [-] [+] - [src]bulk:: BulkResult pub struct BulkResult { pub errors: bool, pub items: Vec<ActionResult>, diff --git a/rs-es/rs_es/operations/common/enum.Consistency.html b/rs-es/rs_es/operations/common/enum.Consistency.html new file mode 100644 index 0000000..0bfd521 --- /dev/null +++ b/rs-es/rs_es/operations/common/enum.Consistency.html @@ -0,0 +1,101 @@ + + + + + + + + + +rs_es::operations::common::Consistency - Rust + + + + + + + + + + + + + + + ++ + + + + +Enum rs_es::
+operations:: + [-] [+] + [src]common:: Consistency pub enum Consistency { + One, + Quorum, + All, +}The consistency query parameter
+Variants
+
One
Quorum
All
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/enum.DefaultOperator.html b/rs-es/rs_es/operations/common/enum.DefaultOperator.html new file mode 100644 index 0000000..657ca16 --- /dev/null +++ b/rs-es/rs_es/operations/common/enum.DefaultOperator.html @@ -0,0 +1,100 @@ + + + + + + + + + +++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +rs_es::operations::common::DefaultOperator - Rust + + + + + + + + + + + + + + + ++ + + + + +Enum rs_es::
+operations:: + [-] [+] + [src]common:: DefaultOperator pub enum DefaultOperator { + And, + Or, +}Values for
+default_operator
query parametersVariants
+
And
Or
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/enum.VersionType.html b/rs-es/rs_es/operations/common/enum.VersionType.html new file mode 100644 index 0000000..944f839 --- /dev/null +++ b/rs-es/rs_es/operations/common/enum.VersionType.html @@ -0,0 +1,105 @@ + + + + + + + + + +++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +rs_es::operations::common::VersionType - Rust + + + + + + + + + + + + + + + ++ + + + + +Enum rs_es::
+operations:: + [-] [+] + [src]common:: VersionType pub enum VersionType { + Internal, + External, + ExternalGt, + ExternalGte, + Force, +}+Variants
+
Internal
External
ExternalGt
ExternalGte
Force
Trait Implementations
impl ToString for VersionType
impl ToJson for VersionType
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/index.html b/rs-es/rs_es/operations/common/index.html index e69de29..9b5bfd1 100644 --- a/rs-es/rs_es/operations/common/index.html +++ b/rs-es/rs_es/operations/common/index.html @@ -0,0 +1,134 @@ + + + + + + + + + +++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +rs_es::operations::common - Rust + + + + + + + + + + + + + + + ++ + + + + +Module rs_es::
+operations:: + [-] [+] + [src]common Features common to all operations
+Structs
++
+ + +OptionVal ++ A newtype for the value of a URI option, this is to allow conversion traits +to be implemented for it
++ +Options ++ Every ES operation has a set of options
+Enums
++
+ + +Consistency ++ The consistency query parameter
++ + +DefaultOperator ++ Values for
+default_operator
query parameters+ +VersionType ++ +++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/sidebar-items.js b/rs-es/rs_es/operations/common/sidebar-items.js index 48333d3..49bcd1f 100644 --- a/rs-es/rs_es/operations/common/sidebar-items.js +++ b/rs-es/rs_es/operations/common/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({}); \ No newline at end of file +initSidebarItems({"struct":[["OptionVal","A newtype for the value of a URI option, this is to allow conversion traits to be implemented for it"],["Options","Every ES operation has a set of options"]],"enum":[["Consistency","The consistency query parameter"],["DefaultOperator","Values for `default_operator` query parameters"],["VersionType","The `version_type` field"]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/struct.OptionVal.html b/rs-es/rs_es/operations/common/struct.OptionVal.html new file mode 100644 index 0000000..7b994a5 --- /dev/null +++ b/rs-es/rs_es/operations/common/struct.OptionVal.html @@ -0,0 +1,119 @@ + + + + + + + + + +++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +rs_es::operations::common::OptionVal - Rust + + + + + + + + + + + + + + + ++ + + + + +Struct rs_es::
+operations:: + [-] [+] + [src]common:: OptionVal pub struct OptionVal(pub String);A newtype for the value of a URI option, this is to allow conversion traits +to be implemented for it
+Trait Implementations
impl<'a> From<&'a str> for OptionVal
Conversion from
+&str
toOptionVal
impl From<String> for OptionVal
impl From<i64> for OptionVal
impl From<bool> for OptionVal
impl From<VersionType> for OptionVal
+
fn from(from: VersionType) -> OptionVal
impl From<Consistency> for OptionVal
+
fn from(from: Consistency) -> OptionVal
impl From<DefaultOperator> for OptionVal
+
fn from(from: DefaultOperator) -> OptionVal
impl From<Preference> for OptionVal
+
fn from(from: Preference) -> OptionVal
impl From<OpType> for OptionVal
impl<'a> From<&'a Sort> for OptionVal
Conversion of a
+Sort
into anOptionVal
for use in search-by-URI queries+use rs_es::operations::common::OptionVal; +use rs_es::operations::search::{Sort, SortField, Order}; +let sort = Sort::new(vec![SortField::new("a", Some(Order::Asc)).build(), + SortField::new("b", None).build()]); +let op_val:OptionVal = (&sort).into(); +assert_eq!("a:asc,b", op_val.0); ++
impl<'a> From<&'a Duration> for OptionVal
impl From<Duration> for OptionVal
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/common/struct.Options.html b/rs-es/rs_es/operations/common/struct.Options.html new file mode 100644 index 0000000..bfd4b89 --- /dev/null +++ b/rs-es/rs_es/operations/common/struct.Options.html @@ -0,0 +1,106 @@ + + + + + + + + + +++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +rs_es::operations::common::Options - Rust + + + + + + + + + + + + + + + ++ + + + + +Struct rs_es::
+operations:: + [-] [+] + [src]common:: Options pub struct Options<'a>(pub Vec<(&'a str, OptionVal)>);Every ES operation has a set of options
+Methods
impl<'a> Options<'a>
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/delete/index.html b/rs-es/rs_es/operations/delete/index.html index 2fd1ccc..778f4e7 100644 --- a/rs-es/rs_es/operations/delete/index.html +++ b/rs-es/rs_es/operations/delete/index.html @@ -43,7 +43,7 @@++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +Module rs_es::
+ [src]operations:: [-] [+] - [src]delete Implementation of delete operations, both Delete-By-Query and Delete-By-Id
Structs
diff --git a/rs-es/rs_es/operations/delete/struct.DeleteByQueryIndexResult.html b/rs-es/rs_es/operations/delete/struct.DeleteByQueryIndexResult.html index 3ebf72b..7a6616b 100644 --- a/rs-es/rs_es/operations/delete/struct.DeleteByQueryIndexResult.html +++ b/rs-es/rs_es/operations/delete/struct.DeleteByQueryIndexResult.html @@ -43,7 +43,7 @@
Struct rs_es::
+ [src]operations:: [-] [+] - [src]delete:: DeleteByQueryIndexResult pub struct DeleteByQueryIndexResult { pub shards: ShardCountResult, }Fields
diff --git a/rs-es/rs_es/operations/delete/struct.DeleteByQueryOperation.html b/rs-es/rs_es/operations/delete/struct.DeleteByQueryOperation.html index 24c8ce2..ad20052 100644 --- a/rs-es/rs_es/operations/delete/struct.DeleteByQueryOperation.html +++ b/rs-es/rs_es/operations/delete/struct.DeleteByQueryOperation.html @@ -43,7 +43,7 @@diff --git a/rs-es/rs_es/operations/delete/struct.DeleteByQueryResult.html b/rs-es/rs_es/operations/delete/struct.DeleteByQueryResult.html index 85ff297..9db1ab6 100644 --- a/rs-es/rs_es/operations/delete/struct.DeleteByQueryResult.html +++ b/rs-es/rs_es/operations/delete/struct.DeleteByQueryResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]delete:: DeleteByQueryOperation pub struct DeleteByQueryOperation<'a, 'b> { // some fields omitted }Methods
impl<'a, 'b> DeleteByQueryOperation<'a, 'b>
@@ -51,11 +51,11 @@
fn new(client: &'a mut Client) -> DeleteByQueryOperation<'a, 'b>
fn with_doc_types(&'b mut self, doc_types: &'b [&'b str]) -> &'b mut Self
fn with_query_string(&'b mut self, qs: String) -> &'b mut Self
-
fn with_query(&'b mut self, q: &'b Query) -> &'b mut Self
-
fn with_df<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_analyzer<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_default_operator<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_consistency<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_df<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_analyzer<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_default_operator<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_consistency<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'a mut self) -> Result<Option<DeleteByQueryResult>, EsError>
Struct rs_es::
+ [src]operations:: [-] [+] - [src]delete:: DeleteByQueryResult pub struct DeleteByQueryResult { pub indices: HashMap<String, DeleteByQueryIndexResult>, }The result of a Delete-by-query request
diff --git a/rs-es/rs_es/operations/delete/struct.DeleteOperation.html b/rs-es/rs_es/operations/delete/struct.DeleteOperation.html index aff436c..1ecb5ba 100644 --- a/rs-es/rs_es/operations/delete/struct.DeleteOperation.html +++ b/rs-es/rs_es/operations/delete/struct.DeleteOperation.html @@ -43,16 +43,16 @@diff --git a/rs-es/rs_es/operations/delete/struct.DeleteResult.html b/rs-es/rs_es/operations/delete/struct.DeleteResult.html index 98838ca..e9edc5b 100644 --- a/rs-es/rs_es/operations/delete/struct.DeleteResult.html +++ b/rs-es/rs_es/operations/delete/struct.DeleteResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]delete:: DeleteOperation pub struct DeleteOperation<'a, 'b> { // some fields omitted }Methods
impl<'a, 'b> DeleteOperation<'a, 'b>
-
fn new(client: &'a mut Client, index: &'b str, doc_type: &'b str, id: &'b str) -> DeleteOperation<'a, 'b>
-
fn with_version<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_parent<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_consistency<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_refresh<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_timeout<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_version<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_parent<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_consistency<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_refresh<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_timeout<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'a mut self) -> Result<DeleteResult, EsError>
Struct rs_es::
+ [src]operations:: [-] [+] - [src]delete:: DeleteResult pub struct DeleteResult { pub found: bool, pub index: String, diff --git a/rs-es/rs_es/operations/get/enum.Preference.html b/rs-es/rs_es/operations/get/enum.Preference.html new file mode 100644 index 0000000..93d998f --- /dev/null +++ b/rs-es/rs_es/operations/get/enum.Preference.html @@ -0,0 +1,100 @@ + + + + + + + + + +rs_es::operations::get::Preference - Rust + + + + + + + + + + + + + + + ++ + + + + +Enum rs_es::
+operations:: + [-] [+] + [src]get:: Preference pub enum Preference { + Primary, + Local, +}Values for the
+preference
query parameterVariants
+
Primary
Local
++ + + + + + + + + + \ No newline at end of file diff --git a/rs-es/rs_es/operations/get/index.html b/rs-es/rs_es/operations/get/index.html index c2f43b6..4f559aa 100644 --- a/rs-es/rs_es/operations/get/index.html +++ b/rs-es/rs_es/operations/get/index.html @@ -43,7 +43,7 @@++Keyboard shortcuts
++
+- ?
+- Show this help dialog
+- S
+- Focus the search field
+- ⇤
+- Move up in search results
+- ⇥
+- Move down in search results
+- ⏎
+- Go to active search result
+++Search tricks
++ Prefix searches with a type followed by a colon (e.g. +
+fn:
) to restrict the search to a given type. ++ Accepted types are:
+fn
,mod
, +struct
,enum
, +trait
,typedef
(or +tdef
). +diff --git a/rs-es/rs_es/operations/get/sidebar-items.js b/rs-es/rs_es/operations/get/sidebar-items.js index cc1ae8d..8947bb5 100644 --- a/rs-es/rs_es/operations/get/sidebar-items.js +++ b/rs-es/rs_es/operations/get/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"struct":[["GetOperation","An ES GET operation, to get a document by ID"],["GetResult","The result of a GET request"]]}); \ No newline at end of file +initSidebarItems({"enum":[["Preference","Values for the `preference` query parameter"]],"struct":[["GetOperation","An ES GET operation, to get a document by ID"],["GetResult","The result of a GET request"]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/get/struct.GetOperation.html b/rs-es/rs_es/operations/get/struct.GetOperation.html index c41e73d..1de6ea8 100644 --- a/rs-es/rs_es/operations/get/struct.GetOperation.html +++ b/rs-es/rs_es/operations/get/struct.GetOperation.html @@ -43,7 +43,7 @@ Module rs_es::
+ [src]operations:: [-] [+] - [src]get Implementation of the Get API
Structs
@@ -58,6 +58,14 @@
Module rs_esGetResult
+ + The result of a GET request
+Enums
++
+ Preference +Values for the
preference
query parameterdiff --git a/rs-es/rs_es/operations/get/struct.GetResult.html b/rs-es/rs_es/operations/get/struct.GetResult.html index 75370dc..52abade 100644 --- a/rs-es/rs_es/operations/get/struct.GetResult.html +++ b/rs-es/rs_es/operations/get/struct.GetResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]get:: GetOperation pub struct GetOperation<'a, 'b> { // some fields omitted }An ES GET operation, to get a document by ID
@@ -51,12 +51,12 @@Struct rs_es
fn with_all_types(&'b mut self) -> &'b mut Self
fn with_doc_type(&'b mut self, doc_type: &'b str) -> &'b mut Self
-
fn with_fields(&'b mut self, fields: &[&'b str]) -> &'b mut Self
-
fn with_realtime<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_source<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_preference<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_refresh<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_version<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_realtime<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_source<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_preference<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_refresh<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_version<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'b mut self) -> Result<GetResult, EsError>
Struct rs_es::
+ [src]operations:: [-] [+] - [src]get:: GetResult pub struct GetResult { pub index: String, pub doc_type: String, diff --git a/rs-es/rs_es/operations/index.html b/rs-es/rs_es/operations/index.html index af74fe4..b61f752 100644 --- a/rs-es/rs_es/operations/index.html +++ b/rs-es/rs_es/operations/index.html @@ -58,6 +58,13 @@Module rs_es:: +
+ +common ++ Features common to all operations
+delete diff --git a/rs-es/rs_es/operations/index/enum.OpType.html b/rs-es/rs_es/operations/index/enum.OpType.html index 6ab5612..59ec8aa 100644 --- a/rs-es/rs_es/operations/index/enum.OpType.html +++ b/rs-es/rs_es/operations/index/enum.OpType.html @@ -43,13 +43,12 @@+ Enum rs_es::
+ [src]operations:: [-] [+] - [src]index:: OpType pub enum OpType { Create, }Values for the op_type option
Variants
-
Create
Trait Implementations
impl ToString for OpType
diff --git a/rs-es/rs_es/operations/index/index.html b/rs-es/rs_es/operations/index/index.html index f98be0d..c692a8b 100644 --- a/rs-es/rs_es/operations/index/index.html +++ b/rs-es/rs_es/operations/index/index.html @@ -43,7 +43,7 @@
Create
Module rs_es::
+ [src]operations:: [-] [+] - [src]index Implementation of ElasticSearch Index operation
Structs
diff --git a/rs-es/rs_es/operations/index/sidebar-items.js b/rs-es/rs_es/operations/index/sidebar-items.js index 49bc6a5..6600057 100644 --- a/rs-es/rs_es/operations/index/sidebar-items.js +++ b/rs-es/rs_es/operations/index/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["OpType","Values for the op_type option"]],"struct":[["IndexOperation","An indexing operation"],["IndexResult","The result of an index operation"]]}); \ No newline at end of file +initSidebarItems({"struct":[["IndexOperation","An indexing operation"],["IndexResult","The result of an index operation"]],"enum":[["OpType","Values for the op_type option"]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/index/struct.IndexOperation.html b/rs-es/rs_es/operations/index/struct.IndexOperation.html index 9d58d31..da7ab6c 100644 --- a/rs-es/rs_es/operations/index/struct.IndexOperation.html +++ b/rs-es/rs_es/operations/index/struct.IndexOperation.html @@ -43,22 +43,22 @@
diff --git a/rs-es/rs_es/operations/index/struct.IndexResult.html b/rs-es/rs_es/operations/index/struct.IndexResult.html index 479dbe2..bfe1722 100644 --- a/rs-es/rs_es/operations/index/struct.IndexResult.html +++ b/rs-es/rs_es/operations/index/struct.IndexResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]index:: IndexOperation pub struct IndexOperation<'a, 'b, E: Encodable + 'b> { // some fields omitted }An indexing operation
Methods
impl<'a, 'b, E: Encodable + 'b> IndexOperation<'a, 'b, E>
fn new(client: &'a mut Client, index: &'b str, doc_type: &'b str) -> IndexOperation<'a, 'b, E>
fn with_doc(&'b mut self, doc: &'b E) -> &'b mut Self
-
fn with_id(&'b mut self, id: &'b str) -> &'b mut Self
-
fn with_ttl<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_version<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_version_type<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_op_type<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_parent<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_timestamp<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_refresh<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_timeout<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_ttl<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_version<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_version_type<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_op_type<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_parent<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_timestamp<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_refresh<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_timeout<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'b mut self) -> Result<IndexResult, EsError>
diff --git a/rs-es/rs_es/operations/search/enum.Mode.html b/rs-es/rs_es/operations/search/enum.Mode.html index 23a3dfd..213e864 100644 --- a/rs-es/rs_es/operations/search/enum.Mode.html +++ b/rs-es/rs_es/operations/search/enum.Mode.html @@ -43,13 +43,14 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]index:: IndexResult pub struct IndexResult { pub index: String, pub doc_type: String, diff --git a/rs-es/rs_es/operations/search/enum.Missing.html b/rs-es/rs_es/operations/search/enum.Missing.html index be122d0..a3e5991 100644 --- a/rs-es/rs_es/operations/search/enum.Missing.html +++ b/rs-es/rs_es/operations/search/enum.Missing.html @@ -43,14 +43,17 @@Enum rs_es::
+ [src]operations:: [-] [+] - [src]search:: Missing pub enum Missing { First, Last, Custom(String), -}Variants
+}Options for handling (missing values)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_missing_values]
+Variants
First
Last
Custom
Trait Implementations
impl ToJson for Missing
impl<S: Into<String>> From<S> for Missing
impl<S: Into<String>> From<S> for Missing
Convert anything that can be converted into a
+String
into a +Missing::Custom
valuediff --git a/rs-es/rs_es/operations/search/enum.Order.html b/rs-es/rs_es/operations/search/enum.Order.html index 2676ade..bdcfff8 100644 --- a/rs-es/rs_es/operations/search/enum.Order.html +++ b/rs-es/rs_es/operations/search/enum.Order.html @@ -43,7 +43,7 @@ Enum rs_es::
+ [src]operations:: [-] [+] - [src]search:: Mode pub enum Mode { Min, Max, Sum, Avg, -}Variants
+}The (Sort mode option)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option].
+Variants
Min
Max
Sum
Avg
Trait Implementations
impl ToJson for Mode
Enum rs_es::
+ [src]operations:: [-] [+] - [src]search:: Order pub enum Order { Asc, Desc, diff --git a/rs-es/rs_es/operations/search/enum.SearchType.html b/rs-es/rs_es/operations/search/enum.SearchType.html index ff6e3b7..b60254f 100644 --- a/rs-es/rs_es/operations/search/enum.SearchType.html +++ b/rs-es/rs_es/operations/search/enum.SearchType.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchType pub enum SearchType { DFSQueryThenFetch, DFSQueryAndFetch, diff --git a/rs-es/rs_es/operations/search/enum.SortBy.html b/rs-es/rs_es/operations/search/enum.SortBy.html index 1fe9f9b..b5b906a 100644 --- a/rs-es/rs_es/operations/search/enum.SortBy.html +++ b/rs-es/rs_es/operations/search/enum.SortBy.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]operations:: [-] [+] - [src]search:: SortBy pub enum SortBy { Field(SortField), Distance(GeoDistance), diff --git a/rs-es/rs_es/operations/search/index.html b/rs-es/rs_es/operations/search/index.html index 8dcc1f2..c19ccd7 100644 --- a/rs-es/rs_es/operations/search/index.html +++ b/rs-es/rs_es/operations/search/index.html @@ -43,7 +43,7 @@Module rs_es::
+ [src]operations:: [-] [+] - [src]search Implementations of both Search-by-URI and Search-by-Query operations
Structs
@@ -100,7 +100,8 @@
Module rs_es
SearchURIOperation -+ Representing a search-by-uri option
+@@ -122,13 +123,15 @@ Module rs_es
Missing -+ Options for handling (missing values)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_missing_values]
+Mode -+ The (Sort mode option)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option].
+diff --git a/rs-es/rs_es/operations/search/sidebar-items.js b/rs-es/rs_es/operations/search/sidebar-items.js index b30bc46..af9bfc0 100644 --- a/rs-es/rs_es/operations/search/sidebar-items.js +++ b/rs-es/rs_es/operations/search/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["Missing",""],["Mode",""],["Order","Order of a sort"],["SearchType","Options for the various search_type parameters"],["SortBy",""]],"struct":[["GeoDistance","Representing sort options for sort by geodistance"],["ScanIterator",""],["ScanResult",""],["Script","Representing options for sort by script"],["SearchHitsHitsResult",""],["SearchHitsResult",""],["SearchQueryOperation",""],["SearchResult",""],["SearchURIOperation",""],["Sort","A full sort clause"],["SortField","Representing sort options for a specific field, can be combined with others to produce the full sort clause"]]}); \ No newline at end of file +initSidebarItems({"struct":[["GeoDistance","Representing sort options for sort by geodistance"],["ScanIterator",""],["ScanResult",""],["Script","Representing options for sort by script"],["SearchHitsHitsResult",""],["SearchHitsResult",""],["SearchQueryOperation",""],["SearchResult",""],["SearchURIOperation","Representing a search-by-uri option"],["Sort","A full sort clause"],["SortField","Representing sort options for a specific field, can be combined with others to produce the full sort clause"]],"enum":[["Missing","Options for handling (missing values)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_missing_values]"],["Mode","The (Sort mode option)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option]."],["Order","Order of a sort"],["SearchType","Options for the various search_type parameters"],["SortBy",""]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/search/struct.GeoDistance.html b/rs-es/rs_es/operations/search/struct.GeoDistance.html index 891a15a..a26c4f9 100644 --- a/rs-es/rs_es/operations/search/struct.GeoDistance.html +++ b/rs-es/rs_es/operations/search/struct.GeoDistance.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: GeoDistance pub struct GeoDistance { // some fields omitted }Representing sort options for sort by geodistance
diff --git a/rs-es/rs_es/operations/search/struct.ScanIterator.html b/rs-es/rs_es/operations/search/struct.ScanIterator.html index e37c986..de0c293 100644 --- a/rs-es/rs_es/operations/search/struct.ScanIterator.html +++ b/rs-es/rs_es/operations/search/struct.ScanIterator.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: ScanIterator pub struct ScanIterator<'a> { // some fields omitted }Trait Implementations
impl<'a> Drop for ScanIterator<'a>
@@ -65,12 +65,12 @@
fn drop(&mut self)
fn skip(self, n: usize) -> Skip<Self>
fn take(self, n: usize) -> Take<Self>
-
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where F: FnMut(&mut St, Self::Item) -> Option<B>
+
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where F: FnMut(Self::Item) -> U, U: IntoIterator
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where U: IntoIterator, F: FnMut(Self::Item) -> U
fn fuse(self) -> Fuse<Self>
fn inspect<F>(self, f: F) -> Inspect<Self, F> where F: FnMut(&Self::Item) -> ()
fn by_ref(&mut self) -> &mut Self
-
fn collect<B>(self) -> B where B: FromIterator<Self::Item>
+
fn partition<B, F>(self, f: F) -> (B, B) where B: Default + Extend<Self::Item>, F: FnMut(&Self::Item) -> bool
fn partition<B, F>(self, f: F) -> (B, B) where F: FnMut(&Self::Item) -> bool, B: Default + Extend<Self::Item>
fn fold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, Self::Item) -> B
fn all<F>(&mut self, f: F) -> bool where F: FnMut(Self::Item) -> bool
@@ -80,10 +80,10 @@
fn any<F>(&mut self, f: F) -> bool where F: FnMut(Self::Item) -> bool
fn max(self) -> Option<Self::Item> where Self::Item: Ord
fn min(self) -> Option<Self::Item> where Self::Item: Ord
-
fn min_max(self) -> MinMaxResult<Self::Item> where Self::Item: Ord
+
fn max_by<B, F>(self, f: F) -> Option<Self::Item> where F: FnMut(&Self::Item) -> B, B: Ord
fn max_by<B, F>(self, f: F) -> Option<Self::Item> where B: Ord, F: FnMut(&Self::Item) -> B
fn min_by<B, F>(self, f: F) -> Option<Self::Item> where B: Ord, F: FnMut(&Self::Item) -> B
-
fn rev(self) -> Rev<Self> where Self: DoubleEndedIterator
+
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) where Self: Iterator<Item=(A, B)>, FromB: Default + Extend<B>, FromA: Default + Extend<A>
fn unzip<A, B, FromA, FromB>(self) -> (FromA, FromB) where FromB: Default + Extend<B>, Self: Iterator<Item=(A, B)>, FromA: Default + Extend<A>
fn cloned<'a, T>(self) -> Cloned<Self> where Self: Iterator<Item=&'a T>, T: 'a + Clone
fn cycle(self) -> Cycle<Self> where Self: Clone
diff --git a/rs-es/rs_es/operations/search/struct.ScanResult.html b/rs-es/rs_es/operations/search/struct.ScanResult.html index 87ce4eb..31bbcd5 100644 --- a/rs-es/rs_es/operations/search/struct.ScanResult.html +++ b/rs-es/rs_es/operations/search/struct.ScanResult.html @@ -43,7 +43,7 @@
fn reverse_in_place<'a, T>(&mut self) where Self: Iterator<Item=&'a mut T> + DoubleEndedIterator, T: 'a
Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: ScanResult pub struct ScanResult { pub took: i64, pub timed_out: bool, diff --git a/rs-es/rs_es/operations/search/struct.Script.html b/rs-es/rs_es/operations/search/struct.Script.html index 11c6d6c..23eec10 100644 --- a/rs-es/rs_es/operations/search/struct.Script.html +++ b/rs-es/rs_es/operations/search/struct.Script.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: Script pub struct Script { // some fields omitted }Representing options for sort by script
diff --git a/rs-es/rs_es/operations/search/struct.SearchHitsHitsResult.html b/rs-es/rs_es/operations/search/struct.SearchHitsHitsResult.html index 9c57d95..7a43a8b 100644 --- a/rs-es/rs_es/operations/search/struct.SearchHitsHitsResult.html +++ b/rs-es/rs_es/operations/search/struct.SearchHitsHitsResult.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchHitsHitsResult pub struct SearchHitsHitsResult { pub index: String, pub doc_type: String, diff --git a/rs-es/rs_es/operations/search/struct.SearchHitsResult.html b/rs-es/rs_es/operations/search/struct.SearchHitsResult.html index 16d4db0..b6af337 100644 --- a/rs-es/rs_es/operations/search/struct.SearchHitsResult.html +++ b/rs-es/rs_es/operations/search/struct.SearchHitsResult.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchHitsResult pub struct SearchHitsResult { pub total: i64, pub hits: Vec<SearchHitsHitsResult>, diff --git a/rs-es/rs_es/operations/search/struct.SearchQueryOperation.html b/rs-es/rs_es/operations/search/struct.SearchQueryOperation.html index 8f1cfb9..75a32bf 100644 --- a/rs-es/rs_es/operations/search/struct.SearchQueryOperation.html +++ b/rs-es/rs_es/operations/search/struct.SearchQueryOperation.html @@ -43,7 +43,7 @@diff --git a/rs-es/rs_es/operations/search/struct.SearchResult.html b/rs-es/rs_es/operations/search/struct.SearchResult.html index 57de555..d4470fb 100644 --- a/rs-es/rs_es/operations/search/struct.SearchResult.html +++ b/rs-es/rs_es/operations/search/struct.SearchResult.html @@ -43,7 +43,7 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchQueryOperation pub struct SearchQueryOperation<'a, 'b> { // some fields omitted }Methods
impl<'a, 'b> SearchQueryOperation<'a, 'b>
@@ -58,9 +58,9 @@
fn new(client: &'a mut Client) -> SearchQueryOperation<'a, 'b>
fn with_min_score(&'b mut self, min_score: f64) -> &'b mut Self
fn with_sort(&'b mut self, sort: &'b Sort) -> &'b mut Self
-
fn with_track_scores(&'b mut self, track_scores: bool) -> &'b mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_search_type<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_query_cache<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_search_type<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_query_cache<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn send(&'b mut self) -> Result<SearchResult, EsError>
fn scan(&'b mut self, scroll: Duration) -> Result<ScanResult, EsError>
Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchResult pub struct SearchResult { pub took: i64, pub timed_out: bool, diff --git a/rs-es/rs_es/operations/search/struct.SearchURIOperation.html b/rs-es/rs_es/operations/search/struct.SearchURIOperation.html index 8d26802..6693173 100644 --- a/rs-es/rs_es/operations/search/struct.SearchURIOperation.html +++ b/rs-es/rs_es/operations/search/struct.SearchURIOperation.html @@ -43,29 +43,30 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SearchURIOperation pub struct SearchURIOperation<'a, 'b> { // some fields omitted -}Methods
impl<'a, 'b> SearchURIOperation<'a, 'b>
+}
fn new(client: &'a mut Client) -> SearchURIOperation<'a, 'b>
Representing a search-by-uri option
+Methods
impl<'a, 'b> SearchURIOperation<'a, 'b>
diff --git a/rs-es/rs_es/operations/search/struct.Sort.html b/rs-es/rs_es/operations/search/struct.Sort.html index a331f53..c3c3fed 100644 --- a/rs-es/rs_es/operations/search/struct.Sort.html +++ b/rs-es/rs_es/operations/search/struct.Sort.html @@ -43,7 +43,7 @@
fn new(client: &'a mut Client) -> SearchURIOperation<'a, 'b>
fn with_indexes(&'b mut self, indexes: &'b [&'b str]) -> &'b mut Self
fn with_types(&'b mut self, doc_types: &'b [&'b str]) -> &'b mut Self
-
fn with_query<S: Into<String>>(&'b mut self, qs: S) -> &'b mut Self
-
fn with_df<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_analyzer<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_lowercase_expanded_terms<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_analyze_wildcard<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_default_operator<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_lenient<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_explain<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_source<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_sort<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_routing<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_track_scores<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_timeout<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_terminate_after<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_from<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
-
fn with_size<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_search_type<T: ToString>(&'a mut self, val: &T) -> &'a mut Self
+
fn with_df<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_analyzer<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_lowercase_expanded_terms<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_analyze_wildcard<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_default_operator<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_lenient<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_explain<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_source<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_sort<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_routing<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_track_scores<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_timeout<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_terminate_after<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_from<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
+
fn with_size<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_search_type<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self
fn with_fields(&'b mut self, fields: &[&str]) -> &'b mut Self
fn send(&'b mut self) -> Result<SearchResult, EsError>
diff --git a/rs-es/rs_es/operations/search/struct.SortField.html b/rs-es/rs_es/operations/search/struct.SortField.html index 5a7e393..0294807 100644 --- a/rs-es/rs_es/operations/search/struct.SortField.html +++ b/rs-es/rs_es/operations/search/struct.SortField.html @@ -43,13 +43,14 @@ Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: Sort pub struct Sort { // some fields omitted }A full sort clause
@@ -53,8 +53,7 @@
fn field_order<S: Into<String>>(fieldname: S, order: Order) -> Sort
fn fields<S: Into<String>>(fieldnames: Vec<S>) -> Sort
-
fn field_orders<S: Into<String>>(fields: Vec<(S, Order)>) -> Sort
Trait Implementations
impl ToString for Sort
impl ToJson for Sort
Trait Implementations
impl ToJson for Sort
Struct rs_es::
+ [src]operations:: [-] [+] - [src]search:: SortField pub struct SortField { // some fields omitted }Representing sort options for a specific field, can be combined with others to produce the full sort clause
Methods
impl SortField
-
fn new<S: Into<String>>(field: S, order: Option<Order>) -> SortField
+
fn with_mode<T: Into<Mode>>(self, val: T) -> Self
Create a
+SortField
for a givenfield
andorder
fn with_mode<T: Into<Mode>>(self, val: T) -> Self
fn with_nested_path<T: Into<String>>(self, val: T) -> Self
fn with_nested_filter<T: Into<Filter>>(self, val: T) -> Self
diff --git a/rs-es/rs_es/operations/sidebar-items.js b/rs-es/rs_es/operations/sidebar-items.js index 7470af1..8e78ad3 100644 --- a/rs-es/rs_es/operations/sidebar-items.js +++ b/rs-es/rs_es/operations/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"struct":[["RefreshOperation",""],["RefreshResult","Result of a refresh request"],["ShardCountResult","Shared struct for operations that include counts of success/failed shards. This is returned within various other result structs."]],"mod":[["bulk","Implementation of the Bulk API"],["delete","Implementation of delete operations, both Delete-By-Query and Delete-By-Id"],["get","Implementation of the Get API"],["index","Implementation of ElasticSearch Index operation"],["search","Implementations of both Search-by-URI and Search-by-Query operations"]]}); \ No newline at end of file +initSidebarItems({"mod":[["bulk","Implementation of the Bulk API"],["common","Features common to all operations"],["delete","Implementation of delete operations, both Delete-By-Query and Delete-By-Id"],["get","Implementation of the Get API"],["index","Implementation of ElasticSearch Index operation"],["search","Implementations of both Search-by-URI and Search-by-Query operations"]],"struct":[["RefreshOperation",""],["RefreshResult","Result of a refresh request"],["ShardCountResult","Shared struct for operations that include counts of success/failed shards. This is returned within various other result structs."]]}); \ No newline at end of file diff --git a/rs-es/rs_es/operations/struct.RefreshOperation.html b/rs-es/rs_es/operations/struct.RefreshOperation.html index 9621f5b..6e46ff3 100644 --- a/rs-es/rs_es/operations/struct.RefreshOperation.html +++ b/rs-es/rs_es/operations/struct.RefreshOperation.html @@ -43,7 +43,7 @@
fn with_missing<T: Into<Missing>>(self, val: T) -> Self
Struct rs_es::
+ [src]operations:: [-] [+] - [src]RefreshOperation pub struct RefreshOperation<'a, 'b> { // some fields omitted }Methods
impl<'a, 'b> RefreshOperation<'a, 'b>
diff --git a/rs-es/rs_es/operations/struct.RefreshResult.html b/rs-es/rs_es/operations/struct.RefreshResult.html index c7ef539..cac5c3a 100644 --- a/rs-es/rs_es/operations/struct.RefreshResult.html +++ b/rs-es/rs_es/operations/struct.RefreshResult.html @@ -43,7 +43,7 @@
fn new(client: &'a mut Client) -> RefreshOperation
Struct rs_es::
+ [src]operations:: [-] [+] - [src]RefreshResult pub struct RefreshResult { pub shards: ShardCountResult, }Result of a refresh request
diff --git a/rs-es/rs_es/operations/struct.ShardCountResult.html b/rs-es/rs_es/operations/struct.ShardCountResult.html index dd29f9e..06e6f25 100644 --- a/rs-es/rs_es/operations/struct.ShardCountResult.html +++ b/rs-es/rs_es/operations/struct.ShardCountResult.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]operations:: [-] [+] - [src]ShardCountResult pub struct ShardCountResult { pub total: i64, pub successful: i64, diff --git a/rs-es/rs_es/query/enum.BoostMode.html b/rs-es/rs_es/query/enum.BoostMode.html index 99646a7..0f098bd 100644 --- a/rs-es/rs_es/query/enum.BoostMode.html +++ b/rs-es/rs_es/query/enum.BoostMode.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]BoostMode pub enum BoostMode { Multiply, Replace, diff --git a/rs-es/rs_es/query/enum.Execution.html b/rs-es/rs_es/query/enum.Execution.html index fb1d80c..b4a0f2a 100644 --- a/rs-es/rs_es/query/enum.Execution.html +++ b/rs-es/rs_es/query/enum.Execution.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Execution pub enum Execution { Plain, Fielddata, diff --git a/rs-es/rs_es/query/enum.Filter.html b/rs-es/rs_es/query/enum.Filter.html index 2417c96..f6437d7 100644 --- a/rs-es/rs_es/query/enum.Filter.html +++ b/rs-es/rs_es/query/enum.Filter.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Filter pub enum Filter { And(AndFilter), Bool(BoolFilter), diff --git a/rs-es/rs_es/query/enum.Flag.html b/rs-es/rs_es/query/enum.Flag.html index 5f8b852..fe10131 100644 --- a/rs-es/rs_es/query/enum.Flag.html +++ b/rs-es/rs_es/query/enum.Flag.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Flag pub enum Flag { All, AnyString, diff --git a/rs-es/rs_es/query/enum.Func.html b/rs-es/rs_es/query/enum.Func.html index 14ec13a..9066d04 100644 --- a/rs-es/rs_es/query/enum.Func.html +++ b/rs-es/rs_es/query/enum.Func.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Func pub enum Func { ScriptScore(ScriptScoreFunc), RandomScore(RandomScoreFunc), diff --git a/rs-es/rs_es/query/enum.Fuzziness.html b/rs-es/rs_es/query/enum.Fuzziness.html index 088c968..89375a9 100644 --- a/rs-es/rs_es/query/enum.Fuzziness.html +++ b/rs-es/rs_es/query/enum.Fuzziness.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Fuzziness pub enum Fuzziness { Auto, LevenshteinDistance(i64), diff --git a/rs-es/rs_es/query/enum.GeoBox.html b/rs-es/rs_es/query/enum.GeoBox.html index aa53d07..fa54931 100644 --- a/rs-es/rs_es/query/enum.GeoBox.html +++ b/rs-es/rs_es/query/enum.GeoBox.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]GeoBox pub enum GeoBox { Corners(Location, Location), Vertices(f64, f64, f64, f64), diff --git a/rs-es/rs_es/query/enum.MatchQueryType.html b/rs-es/rs_es/query/enum.MatchQueryType.html index 1c0d658..92bfcfd 100644 --- a/rs-es/rs_es/query/enum.MatchQueryType.html +++ b/rs-es/rs_es/query/enum.MatchQueryType.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]MatchQueryType pub enum MatchQueryType { BestFields, MostFields, diff --git a/rs-es/rs_es/query/enum.MatchType.html b/rs-es/rs_es/query/enum.MatchType.html index 6f0f965..1f47854 100644 --- a/rs-es/rs_es/query/enum.MatchType.html +++ b/rs-es/rs_es/query/enum.MatchType.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]MatchType pub enum MatchType { Phrase, PhrasePrefix, diff --git a/rs-es/rs_es/query/enum.MinimumShouldMatch.html b/rs-es/rs_es/query/enum.MinimumShouldMatch.html index c7e806f..20ad443 100644 --- a/rs-es/rs_es/query/enum.MinimumShouldMatch.html +++ b/rs-es/rs_es/query/enum.MinimumShouldMatch.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]MinimumShouldMatch pub enum MinimumShouldMatch { Integer(i64), Percentage(f64), diff --git a/rs-es/rs_es/query/enum.Modifier.html b/rs-es/rs_es/query/enum.Modifier.html index 89449ff..a286090 100644 --- a/rs-es/rs_es/query/enum.Modifier.html +++ b/rs-es/rs_es/query/enum.Modifier.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Modifier pub enum Modifier { None, Log, diff --git a/rs-es/rs_es/query/enum.MultiValueMode.html b/rs-es/rs_es/query/enum.MultiValueMode.html index 16327f9..1bb7f04 100644 --- a/rs-es/rs_es/query/enum.MultiValueMode.html +++ b/rs-es/rs_es/query/enum.MultiValueMode.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]MultiValueMode pub enum MultiValueMode { Min, Max, diff --git a/rs-es/rs_es/query/enum.NoMatchFilter.html b/rs-es/rs_es/query/enum.NoMatchFilter.html index f21a698..05241fb 100644 --- a/rs-es/rs_es/query/enum.NoMatchFilter.html +++ b/rs-es/rs_es/query/enum.NoMatchFilter.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]NoMatchFilter pub enum NoMatchFilter { None, All, diff --git a/rs-es/rs_es/query/enum.OptimizeBbox.html b/rs-es/rs_es/query/enum.OptimizeBbox.html index 11b646d..b6d5daa 100644 --- a/rs-es/rs_es/query/enum.OptimizeBbox.html +++ b/rs-es/rs_es/query/enum.OptimizeBbox.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]OptimizeBbox pub enum OptimizeBbox { Memory, Indexed, diff --git a/rs-es/rs_es/query/enum.Precision.html b/rs-es/rs_es/query/enum.Precision.html index 0f37bf9..47a31d8 100644 --- a/rs-es/rs_es/query/enum.Precision.html +++ b/rs-es/rs_es/query/enum.Precision.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Precision pub enum Precision { Geohash(i64), Distance(Distance), diff --git a/rs-es/rs_es/query/enum.Query.html b/rs-es/rs_es/query/enum.Query.html index 7671934..337dd8f 100644 --- a/rs-es/rs_es/query/enum.Query.html +++ b/rs-es/rs_es/query/enum.Query.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Query pub enum Query { MatchAll(MatchAllQuery), Match(MatchQuery), diff --git a/rs-es/rs_es/query/enum.Rewrite.html b/rs-es/rs_es/query/enum.Rewrite.html index 5cf27d3..a573744 100644 --- a/rs-es/rs_es/query/enum.Rewrite.html +++ b/rs-es/rs_es/query/enum.Rewrite.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Rewrite pub enum Rewrite { ConstantScoreAuto, ScoringBoolean, diff --git a/rs-es/rs_es/query/enum.ScoreMode.html b/rs-es/rs_es/query/enum.ScoreMode.html index 9590cfa..19fd0f3 100644 --- a/rs-es/rs_es/query/enum.ScoreMode.html +++ b/rs-es/rs_es/query/enum.ScoreMode.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]ScoreMode pub enum ScoreMode { Multiply, Sum, diff --git a/rs-es/rs_es/query/enum.Strategy.html b/rs-es/rs_es/query/enum.Strategy.html index 6b9136c..9ceac9d 100644 --- a/rs-es/rs_es/query/enum.Strategy.html +++ b/rs-es/rs_es/query/enum.Strategy.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]Strategy pub enum Strategy { LeapFrogQueryFirst, LeapFrogFilterFirst, diff --git a/rs-es/rs_es/query/enum.ZeroTermsQuery.html b/rs-es/rs_es/query/enum.ZeroTermsQuery.html index a0e8cc6..1cf99bb 100644 --- a/rs-es/rs_es/query/enum.ZeroTermsQuery.html +++ b/rs-es/rs_es/query/enum.ZeroTermsQuery.html @@ -43,7 +43,7 @@Enum rs_es::
+ [src]query:: [-] [+] - [src]ZeroTermsQuery pub enum ZeroTermsQuery { None, All, diff --git a/rs-es/rs_es/query/index.html b/rs-es/rs_es/query/index.html index 5014936..ee34b33 100644 --- a/rs-es/rs_es/query/index.html +++ b/rs-es/rs_es/query/index.html @@ -43,10 +43,10 @@Module rs_es::
+ [src]query [-] [+] - [src]Implementation of the ElasticSearch Query DSL.
-Warning! autogenerated at:
2015-06-17 20:34:55 +0100
+Warning! autogenerated at:
2015-06-18 16:15:57 +0100
Do not edit query.rs directly. The template file is query.rs.erb and the script to generate it is generate_query_dsl.rbStructs
diff --git a/rs-es/rs_es/query/sidebar-items.js b/rs-es/rs_es/query/sidebar-items.js index 7033799..1805070 100644 --- a/rs-es/rs_es/query/sidebar-items.js +++ b/rs-es/rs_es/query/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["BoostMode",""],["Execution",""],["Filter",""],["Flag",""],["Func",""],["Fuzziness",""],["GeoBox",""],["MatchQueryType",""],["MatchType",""],["MinimumShouldMatch",""],["Modifier",""],["MultiValueMode",""],["NoMatchFilter",""],["OptimizeBbox",""],["Precision",""],["Query",""],["Rewrite",""],["ScoreMode",""],["Strategy",""],["ZeroTermsQuery",""]],"struct":[["AndFilter",""],["BoolFilter",""],["BoolQuery",""],["BoostingQuery",""],["CombinationMinimumShouldMatch",""],["CommonQuery",""],["ConstantScoreQuery",""],["DisMaxQuery",""],["Distance",""],["Doc",""],["ExistsFilter",""],["ExpFunc",""],["FieldValueFactorFunc",""],["FilteredQuery",""],["Flags",""],["Function",""],["FunctionScoreQuery",""],["FuzzyLikeThisFieldQuery",""],["FuzzyLikeThisQuery",""],["FuzzyQuery",""],["GaussFunc",""],["GeoBoundingBoxFilter",""],["GeoDistanceFilter",""],["GeoPolygonFilter",""],["GeoShapeFilter",""],["GeoShapeQuery",""],["GeohashCellFilter",""],["HasChildFilter",""],["HasChildQuery",""],["HasParentFilter",""],["HasParentQuery",""],["IdsFilter",""],["IdsQuery",""],["IndexedShape",""],["IndicesFilter",""],["IndicesQuery",""],["LinearFunc",""],["MatchAllFilter",""],["MatchAllQuery",""],["MatchQuery",""],["MissingFilter",""],["MoreLikeThisQuery",""],["MultiMatchQuery",""],["NestedFilter",""],["NestedQuery",""],["NotFilter",""],["OrFilter",""],["PrefixFilter",""],["PrefixQuery",""],["QueryFilter",""],["QueryStringQuery",""],["RandomScoreFunc",""],["RangeFilter",""],["RangeQuery",""],["RegexpFilter",""],["RegexpQuery",""],["ScriptFilter",""],["ScriptScoreFunc",""],["Shape",""],["SimpleQueryStringQuery",""],["SpanFirstQuery",""],["SpanMultiQuery",""],["SpanNearQuery",""],["SpanNotQuery",""],["SpanOrQuery",""],["SpanTermQuery",""],["TermFilter",""],["TermQuery",""],["TermsFilter",""],["TermsQuery",""],["TypeFilter",""],["WildcardQuery",""]]}); \ No newline at end of file +initSidebarItems({"struct":[["AndFilter",""],["BoolFilter",""],["BoolQuery",""],["BoostingQuery",""],["CombinationMinimumShouldMatch",""],["CommonQuery",""],["ConstantScoreQuery",""],["DisMaxQuery",""],["Distance",""],["Doc",""],["ExistsFilter",""],["ExpFunc",""],["FieldValueFactorFunc",""],["FilteredQuery",""],["Flags",""],["Function",""],["FunctionScoreQuery",""],["FuzzyLikeThisFieldQuery",""],["FuzzyLikeThisQuery",""],["FuzzyQuery",""],["GaussFunc",""],["GeoBoundingBoxFilter",""],["GeoDistanceFilter",""],["GeoPolygonFilter",""],["GeoShapeFilter",""],["GeoShapeQuery",""],["GeohashCellFilter",""],["HasChildFilter",""],["HasChildQuery",""],["HasParentFilter",""],["HasParentQuery",""],["IdsFilter",""],["IdsQuery",""],["IndexedShape",""],["IndicesFilter",""],["IndicesQuery",""],["LinearFunc",""],["MatchAllFilter",""],["MatchAllQuery",""],["MatchQuery",""],["MissingFilter",""],["MoreLikeThisQuery",""],["MultiMatchQuery",""],["NestedFilter",""],["NestedQuery",""],["NotFilter",""],["OrFilter",""],["PrefixFilter",""],["PrefixQuery",""],["QueryFilter",""],["QueryStringQuery",""],["RandomScoreFunc",""],["RangeFilter",""],["RangeQuery",""],["RegexpFilter",""],["RegexpQuery",""],["ScriptFilter",""],["ScriptScoreFunc",""],["Shape",""],["SimpleQueryStringQuery",""],["SpanFirstQuery",""],["SpanMultiQuery",""],["SpanNearQuery",""],["SpanNotQuery",""],["SpanOrQuery",""],["SpanTermQuery",""],["TermFilter",""],["TermQuery",""],["TermsFilter",""],["TermsQuery",""],["TypeFilter",""],["WildcardQuery",""]],"enum":[["BoostMode",""],["Execution",""],["Filter",""],["Flag",""],["Func",""],["Fuzziness",""],["GeoBox",""],["MatchQueryType",""],["MatchType",""],["MinimumShouldMatch",""],["Modifier",""],["MultiValueMode",""],["NoMatchFilter",""],["OptimizeBbox",""],["Precision",""],["Query",""],["Rewrite",""],["ScoreMode",""],["Strategy",""],["ZeroTermsQuery",""]]}); \ No newline at end of file diff --git a/rs-es/rs_es/query/struct.AndFilter.html b/rs-es/rs_es/query/struct.AndFilter.html index 59308eb..ab0b11b 100644 --- a/rs-es/rs_es/query/struct.AndFilter.html +++ b/rs-es/rs_es/query/struct.AndFilter.html @@ -43,7 +43,7 @@Struct rs_es::
+ [src]query:: [-] [+] - [src]AndFilter pub struct AndFilter { // some fields omitted }Methods
impl AndFilter
diff --git a/rs-es/rs_es/query/struct.BoolFilter.html b/rs-es/rs_es/query/struct.BoolFilter.html index 207dfbf..f364464 100644 --- a/rs-es/rs_es/query/struct.BoolFilter.html +++ b/rs-es/rs_es/query/struct.BoolFilter.html @@ -43,7 +43,7 @@
fn with_filters<T: Into<Vec<Filter>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]BoolFilter pub struct BoolFilter { // some fields omitted }Methods
impl BoolFilter
diff --git a/rs-es/rs_es/query/struct.BoolQuery.html b/rs-es/rs_es/query/struct.BoolQuery.html index 5bad97c..b54b6a0 100644 --- a/rs-es/rs_es/query/struct.BoolQuery.html +++ b/rs-es/rs_es/query/struct.BoolQuery.html @@ -43,7 +43,7 @@
fn with_must<T: Into<Vec<Filter>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]BoolQuery pub struct BoolQuery { // some fields omitted }Methods
impl BoolQuery
diff --git a/rs-es/rs_es/query/struct.BoostingQuery.html b/rs-es/rs_es/query/struct.BoostingQuery.html index ef5572d..9c50476 100644 --- a/rs-es/rs_es/query/struct.BoostingQuery.html +++ b/rs-es/rs_es/query/struct.BoostingQuery.html @@ -43,7 +43,7 @@
fn with_must<T: Into<Vec<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]BoostingQuery pub struct BoostingQuery { // some fields omitted }Methods
impl BoostingQuery
diff --git a/rs-es/rs_es/query/struct.CombinationMinimumShouldMatch.html b/rs-es/rs_es/query/struct.CombinationMinimumShouldMatch.html index 2010ad4..c4c7346 100644 --- a/rs-es/rs_es/query/struct.CombinationMinimumShouldMatch.html +++ b/rs-es/rs_es/query/struct.CombinationMinimumShouldMatch.html @@ -43,7 +43,7 @@
fn with_positive<T: Into<Box<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]CombinationMinimumShouldMatch pub struct CombinationMinimumShouldMatch { // some fields omitted }Methods
impl CombinationMinimumShouldMatch
diff --git a/rs-es/rs_es/query/struct.CommonQuery.html b/rs-es/rs_es/query/struct.CommonQuery.html index 60bf2f8..3507285 100644 --- a/rs-es/rs_es/query/struct.CommonQuery.html +++ b/rs-es/rs_es/query/struct.CommonQuery.html @@ -43,7 +43,7 @@
fn new<A, B>(first: A, second: B) -> CombinationMinimumShouldMatch where A: Into<MinimumShouldMatch>, B: Into<MinimumShouldMatch>
Struct rs_es::
+ [src]query:: [-] [+] - [src]CommonQuery pub struct CommonQuery { // some fields omitted }Methods
impl CommonQuery
diff --git a/rs-es/rs_es/query/struct.ConstantScoreQuery.html b/rs-es/rs_es/query/struct.ConstantScoreQuery.html index 8a40431..6ab429e 100644 --- a/rs-es/rs_es/query/struct.ConstantScoreQuery.html +++ b/rs-es/rs_es/query/struct.ConstantScoreQuery.html @@ -43,7 +43,7 @@
fn with_cutoff_frequency<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]ConstantScoreQuery pub struct ConstantScoreQuery { // some fields omitted }Methods
impl ConstantScoreQuery
diff --git a/rs-es/rs_es/query/struct.DisMaxQuery.html b/rs-es/rs_es/query/struct.DisMaxQuery.html index 8407b08..691753b 100644 --- a/rs-es/rs_es/query/struct.DisMaxQuery.html +++ b/rs-es/rs_es/query/struct.DisMaxQuery.html @@ -43,7 +43,7 @@
fn with_filter<T: Into<Box<Filter>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]DisMaxQuery pub struct DisMaxQuery { // some fields omitted }Methods
impl DisMaxQuery
diff --git a/rs-es/rs_es/query/struct.Distance.html b/rs-es/rs_es/query/struct.Distance.html index 67105f5..8907dc5 100644 --- a/rs-es/rs_es/query/struct.Distance.html +++ b/rs-es/rs_es/query/struct.Distance.html @@ -43,7 +43,7 @@
fn with_tie_breaker<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]Distance pub struct Distance { // some fields omitted }Methods
impl Distance
diff --git a/rs-es/rs_es/query/struct.Doc.html b/rs-es/rs_es/query/struct.Doc.html index a0c21ed..e3fadd4 100644 --- a/rs-es/rs_es/query/struct.Doc.html +++ b/rs-es/rs_es/query/struct.Doc.html @@ -43,7 +43,7 @@
fn new(amt: f64, unit: DistanceUnit) -> Distance
Struct rs_es::
+ [src]query:: [-] [+] - [src]Doc pub struct Doc { // some fields omitted }Methods
impl Doc
diff --git a/rs-es/rs_es/query/struct.ExistsFilter.html b/rs-es/rs_es/query/struct.ExistsFilter.html index 13466c0..3c7f9fc 100644 --- a/rs-es/rs_es/query/struct.ExistsFilter.html +++ b/rs-es/rs_es/query/struct.ExistsFilter.html @@ -43,7 +43,7 @@
fn from_doc<A, B>(index: A, doc_type: B, doc: Json) -> Doc where A: Into<String>, B: Into<String>
Struct rs_es::
+ [src]query:: [-] [+] - [src]ExistsFilter pub struct ExistsFilter { // some fields omitted }Methods
impl ExistsFilter
diff --git a/rs-es/rs_es/query/struct.ExpFunc.html b/rs-es/rs_es/query/struct.ExpFunc.html index d519253..610eb32 100644 --- a/rs-es/rs_es/query/struct.ExpFunc.html +++ b/rs-es/rs_es/query/struct.ExpFunc.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]ExpFunc pub struct ExpFunc { // some fields omitted }Methods
impl ExpFunc
diff --git a/rs-es/rs_es/query/struct.FieldValueFactorFunc.html b/rs-es/rs_es/query/struct.FieldValueFactorFunc.html index 1320218..ced07f3 100644 --- a/rs-es/rs_es/query/struct.FieldValueFactorFunc.html +++ b/rs-es/rs_es/query/struct.FieldValueFactorFunc.html @@ -43,7 +43,7 @@
fn with_scale<T: Into<Scale>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]FieldValueFactorFunc pub struct FieldValueFactorFunc { // some fields omitted }Methods
impl FieldValueFactorFunc
diff --git a/rs-es/rs_es/query/struct.FilteredQuery.html b/rs-es/rs_es/query/struct.FilteredQuery.html index 95b434a..37f4446 100644 --- a/rs-es/rs_es/query/struct.FilteredQuery.html +++ b/rs-es/rs_es/query/struct.FilteredQuery.html @@ -43,7 +43,7 @@
fn with_factor<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]FilteredQuery pub struct FilteredQuery { // some fields omitted }Methods
impl FilteredQuery
diff --git a/rs-es/rs_es/query/struct.Flags.html b/rs-es/rs_es/query/struct.Flags.html index 87c0757..f3238d0 100644 --- a/rs-es/rs_es/query/struct.Flags.html +++ b/rs-es/rs_es/query/struct.Flags.html @@ -43,7 +43,7 @@
fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]Flags pub struct Flags { // some fields omitted }Methods
impl Flags
diff --git a/rs-es/rs_es/query/struct.Function.html b/rs-es/rs_es/query/struct.Function.html index a1f2f60..19231f8 100644 --- a/rs-es/rs_es/query/struct.Function.html +++ b/rs-es/rs_es/query/struct.Function.html @@ -43,7 +43,7 @@
fn new() -> Flags
Struct rs_es::
+ [src]query:: [-] [+] - [src]Function pub struct Function { // some fields omitted }Methods
impl Function
diff --git a/rs-es/rs_es/query/struct.FunctionScoreQuery.html b/rs-es/rs_es/query/struct.FunctionScoreQuery.html index e93082c..edbde28 100644 --- a/rs-es/rs_es/query/struct.FunctionScoreQuery.html +++ b/rs-es/rs_es/query/struct.FunctionScoreQuery.html @@ -43,7 +43,7 @@
fn new(function: Func) -> Function
Struct rs_es::
+ [src]query:: [-] [+] - [src]FunctionScoreQuery pub struct FunctionScoreQuery { // some fields omitted }Methods
impl FunctionScoreQuery
diff --git a/rs-es/rs_es/query/struct.FuzzyLikeThisFieldQuery.html b/rs-es/rs_es/query/struct.FuzzyLikeThisFieldQuery.html index 38e9ae6..c349a8d 100644 --- a/rs-es/rs_es/query/struct.FuzzyLikeThisFieldQuery.html +++ b/rs-es/rs_es/query/struct.FuzzyLikeThisFieldQuery.html @@ -43,7 +43,7 @@
fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]FuzzyLikeThisFieldQuery pub struct FuzzyLikeThisFieldQuery { // some fields omitted }Methods
impl FuzzyLikeThisFieldQuery
diff --git a/rs-es/rs_es/query/struct.FuzzyLikeThisQuery.html b/rs-es/rs_es/query/struct.FuzzyLikeThisQuery.html index b065d98..efec6ce 100644 --- a/rs-es/rs_es/query/struct.FuzzyLikeThisQuery.html +++ b/rs-es/rs_es/query/struct.FuzzyLikeThisQuery.html @@ -43,7 +43,7 @@
fn with_ignore_tf<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]FuzzyLikeThisQuery pub struct FuzzyLikeThisQuery { // some fields omitted }Methods
impl FuzzyLikeThisQuery
diff --git a/rs-es/rs_es/query/struct.FuzzyQuery.html b/rs-es/rs_es/query/struct.FuzzyQuery.html index 59b8aab..3210d39 100644 --- a/rs-es/rs_es/query/struct.FuzzyQuery.html +++ b/rs-es/rs_es/query/struct.FuzzyQuery.html @@ -43,7 +43,7 @@
fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]FuzzyQuery pub struct FuzzyQuery { // some fields omitted }Methods
impl FuzzyQuery
diff --git a/rs-es/rs_es/query/struct.GaussFunc.html b/rs-es/rs_es/query/struct.GaussFunc.html index 97b2e86..181b905 100644 --- a/rs-es/rs_es/query/struct.GaussFunc.html +++ b/rs-es/rs_es/query/struct.GaussFunc.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GaussFunc pub struct GaussFunc { // some fields omitted }Methods
impl GaussFunc
diff --git a/rs-es/rs_es/query/struct.GeoBoundingBoxFilter.html b/rs-es/rs_es/query/struct.GeoBoundingBoxFilter.html index 40579a5..80bf3c6 100644 --- a/rs-es/rs_es/query/struct.GeoBoundingBoxFilter.html +++ b/rs-es/rs_es/query/struct.GeoBoundingBoxFilter.html @@ -43,7 +43,7 @@
fn with_scale<T: Into<Scale>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeoBoundingBoxFilter pub struct GeoBoundingBoxFilter { // some fields omitted }Methods
impl GeoBoundingBoxFilter
diff --git a/rs-es/rs_es/query/struct.GeoDistanceFilter.html b/rs-es/rs_es/query/struct.GeoDistanceFilter.html index 6a2fdbd..023de61 100644 --- a/rs-es/rs_es/query/struct.GeoDistanceFilter.html +++ b/rs-es/rs_es/query/struct.GeoDistanceFilter.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeoDistanceFilter pub struct GeoDistanceFilter { // some fields omitted }Methods
impl GeoDistanceFilter
diff --git a/rs-es/rs_es/query/struct.GeoPolygonFilter.html b/rs-es/rs_es/query/struct.GeoPolygonFilter.html index 3e9a500..8364518 100644 --- a/rs-es/rs_es/query/struct.GeoPolygonFilter.html +++ b/rs-es/rs_es/query/struct.GeoPolygonFilter.html @@ -43,7 +43,7 @@
fn with_distance_type<T: Into<DistanceType>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeoPolygonFilter pub struct GeoPolygonFilter { // some fields omitted }Methods
impl GeoPolygonFilter
diff --git a/rs-es/rs_es/query/struct.GeoShapeFilter.html b/rs-es/rs_es/query/struct.GeoShapeFilter.html index 22cd97f..74f2366 100644 --- a/rs-es/rs_es/query/struct.GeoShapeFilter.html +++ b/rs-es/rs_es/query/struct.GeoShapeFilter.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeoShapeFilter pub struct GeoShapeFilter { // some fields omitted }Methods
impl GeoShapeFilter
diff --git a/rs-es/rs_es/query/struct.GeoShapeQuery.html b/rs-es/rs_es/query/struct.GeoShapeQuery.html index ae791b1..c93a982 100644 --- a/rs-es/rs_es/query/struct.GeoShapeQuery.html +++ b/rs-es/rs_es/query/struct.GeoShapeQuery.html @@ -43,7 +43,7 @@
fn with_shape<T: Into<Shape>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeoShapeQuery pub struct GeoShapeQuery { // some fields omitted }Methods
impl GeoShapeQuery
diff --git a/rs-es/rs_es/query/struct.GeohashCellFilter.html b/rs-es/rs_es/query/struct.GeohashCellFilter.html index 51f9e5d..4532c95 100644 --- a/rs-es/rs_es/query/struct.GeohashCellFilter.html +++ b/rs-es/rs_es/query/struct.GeohashCellFilter.html @@ -43,7 +43,7 @@
fn with_shape<T: Into<Shape>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]GeohashCellFilter pub struct GeohashCellFilter { // some fields omitted }Methods
impl GeohashCellFilter
diff --git a/rs-es/rs_es/query/struct.HasChildFilter.html b/rs-es/rs_es/query/struct.HasChildFilter.html index 6c07499..1876739 100644 --- a/rs-es/rs_es/query/struct.HasChildFilter.html +++ b/rs-es/rs_es/query/struct.HasChildFilter.html @@ -43,7 +43,7 @@
fn with_precision<T: Into<Precision>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]HasChildFilter pub struct HasChildFilter { // some fields omitted }Methods
impl HasChildFilter
diff --git a/rs-es/rs_es/query/struct.HasChildQuery.html b/rs-es/rs_es/query/struct.HasChildQuery.html index b6790ab..f1a9d7b 100644 --- a/rs-es/rs_es/query/struct.HasChildQuery.html +++ b/rs-es/rs_es/query/struct.HasChildQuery.html @@ -43,7 +43,7 @@
fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]HasChildQuery pub struct HasChildQuery { // some fields omitted }Methods
impl HasChildQuery
diff --git a/rs-es/rs_es/query/struct.HasParentFilter.html b/rs-es/rs_es/query/struct.HasParentFilter.html index dfa6acb..dec77fa 100644 --- a/rs-es/rs_es/query/struct.HasParentFilter.html +++ b/rs-es/rs_es/query/struct.HasParentFilter.html @@ -43,7 +43,7 @@
fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]HasParentFilter pub struct HasParentFilter { // some fields omitted }Methods
impl HasParentFilter
diff --git a/rs-es/rs_es/query/struct.HasParentQuery.html b/rs-es/rs_es/query/struct.HasParentQuery.html index b68dbf6..9eed001 100644 --- a/rs-es/rs_es/query/struct.HasParentQuery.html +++ b/rs-es/rs_es/query/struct.HasParentQuery.html @@ -43,7 +43,7 @@
fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]HasParentQuery pub struct HasParentQuery { // some fields omitted }Methods
impl HasParentQuery
diff --git a/rs-es/rs_es/query/struct.IdsFilter.html b/rs-es/rs_es/query/struct.IdsFilter.html index b27415c..cfd8355 100644 --- a/rs-es/rs_es/query/struct.IdsFilter.html +++ b/rs-es/rs_es/query/struct.IdsFilter.html @@ -43,7 +43,7 @@
fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]IdsFilter pub struct IdsFilter { // some fields omitted }Methods
impl IdsFilter
diff --git a/rs-es/rs_es/query/struct.IdsQuery.html b/rs-es/rs_es/query/struct.IdsQuery.html index f1d6aeb..7c54adb 100644 --- a/rs-es/rs_es/query/struct.IdsQuery.html +++ b/rs-es/rs_es/query/struct.IdsQuery.html @@ -43,7 +43,7 @@
fn with_type<T: Into<OneOrMany<String>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]IdsQuery pub struct IdsQuery { // some fields omitted }Methods
impl IdsQuery
diff --git a/rs-es/rs_es/query/struct.IndexedShape.html b/rs-es/rs_es/query/struct.IndexedShape.html index a462f28..58c7899 100644 --- a/rs-es/rs_es/query/struct.IndexedShape.html +++ b/rs-es/rs_es/query/struct.IndexedShape.html @@ -43,7 +43,7 @@
fn with_type<T: Into<OneOrMany<String>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]IndexedShape pub struct IndexedShape { // some fields omitted }Methods
impl IndexedShape
diff --git a/rs-es/rs_es/query/struct.IndicesFilter.html b/rs-es/rs_es/query/struct.IndicesFilter.html index 392a119..7612c4e 100644 --- a/rs-es/rs_es/query/struct.IndicesFilter.html +++ b/rs-es/rs_es/query/struct.IndicesFilter.html @@ -43,7 +43,7 @@
fn new<A, B, C, D>(id: A, doc_type: B, index: C, path: D) -> IndexedShape where A: Into<String>, B: Into<String>, C: Into<String>, D: Into<String>
Struct rs_es::
+ [src]query:: [-] [+] - [src]IndicesFilter pub struct IndicesFilter { // some fields omitted }Methods
impl IndicesFilter
diff --git a/rs-es/rs_es/query/struct.IndicesQuery.html b/rs-es/rs_es/query/struct.IndicesQuery.html index e13dc43..bccd0ee 100644 --- a/rs-es/rs_es/query/struct.IndicesQuery.html +++ b/rs-es/rs_es/query/struct.IndicesQuery.html @@ -43,7 +43,7 @@
fn with_index<T: Into<String>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]IndicesQuery pub struct IndicesQuery { // some fields omitted }Methods
impl IndicesQuery
diff --git a/rs-es/rs_es/query/struct.LinearFunc.html b/rs-es/rs_es/query/struct.LinearFunc.html index 75f8ada..d12f3e2 100644 --- a/rs-es/rs_es/query/struct.LinearFunc.html +++ b/rs-es/rs_es/query/struct.LinearFunc.html @@ -43,7 +43,7 @@
fn with_index<T: Into<String>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]LinearFunc pub struct LinearFunc { // some fields omitted }Methods
impl LinearFunc
diff --git a/rs-es/rs_es/query/struct.MatchAllFilter.html b/rs-es/rs_es/query/struct.MatchAllFilter.html index 7581b07..3790b8c 100644 --- a/rs-es/rs_es/query/struct.MatchAllFilter.html +++ b/rs-es/rs_es/query/struct.MatchAllFilter.html @@ -43,7 +43,7 @@
fn with_scale<T: Into<Scale>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MatchAllFilter pub struct MatchAllFilter { // some fields omitted }Methods
impl MatchAllFilter
diff --git a/rs-es/rs_es/query/struct.MatchAllQuery.html b/rs-es/rs_es/query/struct.MatchAllQuery.html index c0cb438..ea6e094 100644 --- a/rs-es/rs_es/query/struct.MatchAllQuery.html +++ b/rs-es/rs_es/query/struct.MatchAllQuery.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MatchAllQuery pub struct MatchAllQuery { // some fields omitted }Methods
impl MatchAllQuery
diff --git a/rs-es/rs_es/query/struct.MatchQuery.html b/rs-es/rs_es/query/struct.MatchQuery.html index 50e24a5..51b4b6e 100644 --- a/rs-es/rs_es/query/struct.MatchQuery.html +++ b/rs-es/rs_es/query/struct.MatchQuery.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MatchQuery pub struct MatchQuery { // some fields omitted }Methods
impl MatchQuery
diff --git a/rs-es/rs_es/query/struct.MissingFilter.html b/rs-es/rs_es/query/struct.MissingFilter.html index ef04591..7e5b423 100644 --- a/rs-es/rs_es/query/struct.MissingFilter.html +++ b/rs-es/rs_es/query/struct.MissingFilter.html @@ -43,7 +43,7 @@
fn with_type<T: Into<MatchType>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MissingFilter pub struct MissingFilter { // some fields omitted }Methods
impl MissingFilter
diff --git a/rs-es/rs_es/query/struct.MoreLikeThisQuery.html b/rs-es/rs_es/query/struct.MoreLikeThisQuery.html index bcc2b61..4804fa1 100644 --- a/rs-es/rs_es/query/struct.MoreLikeThisQuery.html +++ b/rs-es/rs_es/query/struct.MoreLikeThisQuery.html @@ -43,7 +43,7 @@
fn with_existence<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MoreLikeThisQuery pub struct MoreLikeThisQuery { // some fields omitted }Methods
impl MoreLikeThisQuery
diff --git a/rs-es/rs_es/query/struct.MultiMatchQuery.html b/rs-es/rs_es/query/struct.MultiMatchQuery.html index e535d75..9d9a650 100644 --- a/rs-es/rs_es/query/struct.MultiMatchQuery.html +++ b/rs-es/rs_es/query/struct.MultiMatchQuery.html @@ -43,7 +43,7 @@
fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]MultiMatchQuery pub struct MultiMatchQuery { // some fields omitted }Methods
impl MultiMatchQuery
diff --git a/rs-es/rs_es/query/struct.NestedFilter.html b/rs-es/rs_es/query/struct.NestedFilter.html index 7606ba2..3acb09b 100644 --- a/rs-es/rs_es/query/struct.NestedFilter.html +++ b/rs-es/rs_es/query/struct.NestedFilter.html @@ -43,7 +43,7 @@
fn with_use_dis_max<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]NestedFilter pub struct NestedFilter { // some fields omitted }Methods
impl NestedFilter
diff --git a/rs-es/rs_es/query/struct.NestedQuery.html b/rs-es/rs_es/query/struct.NestedQuery.html index 423decb..ebfaac7 100644 --- a/rs-es/rs_es/query/struct.NestedQuery.html +++ b/rs-es/rs_es/query/struct.NestedQuery.html @@ -43,7 +43,7 @@
fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]NestedQuery pub struct NestedQuery { // some fields omitted }Methods
impl NestedQuery
diff --git a/rs-es/rs_es/query/struct.NotFilter.html b/rs-es/rs_es/query/struct.NotFilter.html index 7e0d82b..f9a92bd 100644 --- a/rs-es/rs_es/query/struct.NotFilter.html +++ b/rs-es/rs_es/query/struct.NotFilter.html @@ -43,7 +43,7 @@
fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]NotFilter pub struct NotFilter { // some fields omitted }Methods
impl NotFilter
diff --git a/rs-es/rs_es/query/struct.OrFilter.html b/rs-es/rs_es/query/struct.OrFilter.html index 08b8de8..dc75c28 100644 --- a/rs-es/rs_es/query/struct.OrFilter.html +++ b/rs-es/rs_es/query/struct.OrFilter.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]OrFilter pub struct OrFilter { // some fields omitted }Methods
impl OrFilter
diff --git a/rs-es/rs_es/query/struct.PrefixFilter.html b/rs-es/rs_es/query/struct.PrefixFilter.html index 418f3f3..db4337a 100644 --- a/rs-es/rs_es/query/struct.PrefixFilter.html +++ b/rs-es/rs_es/query/struct.PrefixFilter.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]PrefixFilter pub struct PrefixFilter { // some fields omitted }Methods
impl PrefixFilter
diff --git a/rs-es/rs_es/query/struct.PrefixQuery.html b/rs-es/rs_es/query/struct.PrefixQuery.html index bc826ad..7d02b9b 100644 --- a/rs-es/rs_es/query/struct.PrefixQuery.html +++ b/rs-es/rs_es/query/struct.PrefixQuery.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]PrefixQuery pub struct PrefixQuery { // some fields omitted }Methods
impl PrefixQuery
diff --git a/rs-es/rs_es/query/struct.QueryFilter.html b/rs-es/rs_es/query/struct.QueryFilter.html index 56fd06d..82eb18c 100644 --- a/rs-es/rs_es/query/struct.QueryFilter.html +++ b/rs-es/rs_es/query/struct.QueryFilter.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]QueryFilter pub struct QueryFilter { // some fields omitted }Methods
impl QueryFilter
diff --git a/rs-es/rs_es/query/struct.QueryStringQuery.html b/rs-es/rs_es/query/struct.QueryStringQuery.html index b844c0f..a3d7cee 100644 --- a/rs-es/rs_es/query/struct.QueryStringQuery.html +++ b/rs-es/rs_es/query/struct.QueryStringQuery.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]QueryStringQuery pub struct QueryStringQuery { // some fields omitted }Methods
impl QueryStringQuery
diff --git a/rs-es/rs_es/query/struct.RandomScoreFunc.html b/rs-es/rs_es/query/struct.RandomScoreFunc.html index acf9028..eed2fc1 100644 --- a/rs-es/rs_es/query/struct.RandomScoreFunc.html +++ b/rs-es/rs_es/query/struct.RandomScoreFunc.html @@ -43,7 +43,7 @@
fn with_default_field<T: Into<String>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]RandomScoreFunc pub struct RandomScoreFunc { // some fields omitted }Methods
impl RandomScoreFunc
diff --git a/rs-es/rs_es/query/struct.RangeFilter.html b/rs-es/rs_es/query/struct.RangeFilter.html index 909877b..2e1e1f3 100644 --- a/rs-es/rs_es/query/struct.RangeFilter.html +++ b/rs-es/rs_es/query/struct.RangeFilter.html @@ -43,7 +43,7 @@
fn build(self) -> Func
Struct rs_es::
+ [src]query:: [-] [+] - [src]RangeFilter pub struct RangeFilter { // some fields omitted }Methods
impl RangeFilter
diff --git a/rs-es/rs_es/query/struct.RangeQuery.html b/rs-es/rs_es/query/struct.RangeQuery.html index a85a9d9..400d9a2 100644 --- a/rs-es/rs_es/query/struct.RangeQuery.html +++ b/rs-es/rs_es/query/struct.RangeQuery.html @@ -43,7 +43,7 @@
fn with_gte<T: Into<JsonVal>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]RangeQuery pub struct RangeQuery { // some fields omitted }Methods
impl RangeQuery
diff --git a/rs-es/rs_es/query/struct.RegexpFilter.html b/rs-es/rs_es/query/struct.RegexpFilter.html index d441da6..2379297 100644 --- a/rs-es/rs_es/query/struct.RegexpFilter.html +++ b/rs-es/rs_es/query/struct.RegexpFilter.html @@ -43,7 +43,7 @@
fn with_gte<T: Into<JsonVal>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]RegexpFilter pub struct RegexpFilter { // some fields omitted }Methods
impl RegexpFilter
diff --git a/rs-es/rs_es/query/struct.RegexpQuery.html b/rs-es/rs_es/query/struct.RegexpQuery.html index 836984b..3dd1bff 100644 --- a/rs-es/rs_es/query/struct.RegexpQuery.html +++ b/rs-es/rs_es/query/struct.RegexpQuery.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]RegexpQuery pub struct RegexpQuery { // some fields omitted }Methods
impl RegexpQuery
diff --git a/rs-es/rs_es/query/struct.ScriptFilter.html b/rs-es/rs_es/query/struct.ScriptFilter.html index e9cc978..14b0296 100644 --- a/rs-es/rs_es/query/struct.ScriptFilter.html +++ b/rs-es/rs_es/query/struct.ScriptFilter.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]ScriptFilter pub struct ScriptFilter { // some fields omitted }Methods
impl ScriptFilter
diff --git a/rs-es/rs_es/query/struct.ScriptScoreFunc.html b/rs-es/rs_es/query/struct.ScriptScoreFunc.html index 5a3c500..3d4fb7f 100644 --- a/rs-es/rs_es/query/struct.ScriptScoreFunc.html +++ b/rs-es/rs_es/query/struct.ScriptScoreFunc.html @@ -43,7 +43,7 @@
fn with_params<T: Into<BTreeMap<String, JsonVal>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]ScriptScoreFunc pub struct ScriptScoreFunc { // some fields omitted }Methods
impl ScriptScoreFunc
diff --git a/rs-es/rs_es/query/struct.Shape.html b/rs-es/rs_es/query/struct.Shape.html index c74df65..c997593 100644 --- a/rs-es/rs_es/query/struct.Shape.html +++ b/rs-es/rs_es/query/struct.Shape.html @@ -43,7 +43,7 @@
fn with_lang<T: Into<String>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]Shape pub struct Shape { // some fields omitted }Methods
impl Shape
diff --git a/rs-es/rs_es/query/struct.SimpleQueryStringQuery.html b/rs-es/rs_es/query/struct.SimpleQueryStringQuery.html index 82ed79c..13f5975 100644 --- a/rs-es/rs_es/query/struct.SimpleQueryStringQuery.html +++ b/rs-es/rs_es/query/struct.SimpleQueryStringQuery.html @@ -43,7 +43,7 @@
fn new<A: Into<String>>(shape_type: A, coordinates: Vec<(f64, f64)>) -> Shape
Struct rs_es::
+ [src]query:: [-] [+] - [src]SimpleQueryStringQuery pub struct SimpleQueryStringQuery { // some fields omitted }Methods
impl SimpleQueryStringQuery
diff --git a/rs-es/rs_es/query/struct.SpanFirstQuery.html b/rs-es/rs_es/query/struct.SpanFirstQuery.html index 2bb06ef..b0b2c1d 100644 --- a/rs-es/rs_es/query/struct.SpanFirstQuery.html +++ b/rs-es/rs_es/query/struct.SpanFirstQuery.html @@ -43,7 +43,7 @@
fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanFirstQuery pub struct SpanFirstQuery { // some fields omitted }Methods
impl SpanFirstQuery
diff --git a/rs-es/rs_es/query/struct.SpanMultiQuery.html b/rs-es/rs_es/query/struct.SpanMultiQuery.html index 573cb5a..36e93f0 100644 --- a/rs-es/rs_es/query/struct.SpanMultiQuery.html +++ b/rs-es/rs_es/query/struct.SpanMultiQuery.html @@ -43,7 +43,7 @@
fn build(self) -> Query
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanMultiQuery pub struct SpanMultiQuery { // some fields omitted }Methods
impl SpanMultiQuery
diff --git a/rs-es/rs_es/query/struct.SpanNearQuery.html b/rs-es/rs_es/query/struct.SpanNearQuery.html index 5f3d508..ebb04cf 100644 --- a/rs-es/rs_es/query/struct.SpanNearQuery.html +++ b/rs-es/rs_es/query/struct.SpanNearQuery.html @@ -43,7 +43,7 @@
fn build(self) -> Query
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanNearQuery pub struct SpanNearQuery { // some fields omitted }Methods
impl SpanNearQuery
diff --git a/rs-es/rs_es/query/struct.SpanNotQuery.html b/rs-es/rs_es/query/struct.SpanNotQuery.html index 6235dd3..7f6808e 100644 --- a/rs-es/rs_es/query/struct.SpanNotQuery.html +++ b/rs-es/rs_es/query/struct.SpanNotQuery.html @@ -43,7 +43,7 @@
fn with_in_order<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanNotQuery pub struct SpanNotQuery { // some fields omitted }Methods
impl SpanNotQuery
diff --git a/rs-es/rs_es/query/struct.SpanOrQuery.html b/rs-es/rs_es/query/struct.SpanOrQuery.html index 7de521d..28001a1 100644 --- a/rs-es/rs_es/query/struct.SpanOrQuery.html +++ b/rs-es/rs_es/query/struct.SpanOrQuery.html @@ -43,7 +43,7 @@
fn with_pre<T: Into<i64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanOrQuery pub struct SpanOrQuery { // some fields omitted }Methods
impl SpanOrQuery
diff --git a/rs-es/rs_es/query/struct.SpanTermQuery.html b/rs-es/rs_es/query/struct.SpanTermQuery.html index 10b14a4..dc910fc 100644 --- a/rs-es/rs_es/query/struct.SpanTermQuery.html +++ b/rs-es/rs_es/query/struct.SpanTermQuery.html @@ -43,7 +43,7 @@
fn build(self) -> Query
Struct rs_es::
+ [src]query:: [-] [+] - [src]SpanTermQuery pub struct SpanTermQuery { // some fields omitted }Methods
impl SpanTermQuery
diff --git a/rs-es/rs_es/query/struct.TermFilter.html b/rs-es/rs_es/query/struct.TermFilter.html index 9355f8d..e75adad 100644 --- a/rs-es/rs_es/query/struct.TermFilter.html +++ b/rs-es/rs_es/query/struct.TermFilter.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]TermFilter pub struct TermFilter { // some fields omitted }Methods
impl TermFilter
diff --git a/rs-es/rs_es/query/struct.TermQuery.html b/rs-es/rs_es/query/struct.TermQuery.html index 8afc128..098c124 100644 --- a/rs-es/rs_es/query/struct.TermQuery.html +++ b/rs-es/rs_es/query/struct.TermQuery.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]TermQuery pub struct TermQuery { // some fields omitted }Methods
impl TermQuery
diff --git a/rs-es/rs_es/query/struct.TermsFilter.html b/rs-es/rs_es/query/struct.TermsFilter.html index 7cddba4..0c7881a 100644 --- a/rs-es/rs_es/query/struct.TermsFilter.html +++ b/rs-es/rs_es/query/struct.TermsFilter.html @@ -43,7 +43,7 @@
fn with_boost<T: Into<f64>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]TermsFilter pub struct TermsFilter { // some fields omitted }Methods
impl TermsFilter
diff --git a/rs-es/rs_es/query/struct.TermsQuery.html b/rs-es/rs_es/query/struct.TermsQuery.html index 716592d..0520568 100644 --- a/rs-es/rs_es/query/struct.TermsQuery.html +++ b/rs-es/rs_es/query/struct.TermsQuery.html @@ -43,7 +43,7 @@
fn with_execution<T: Into<Execution>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]TermsQuery pub struct TermsQuery { // some fields omitted }Methods
impl TermsQuery
diff --git a/rs-es/rs_es/query/struct.TypeFilter.html b/rs-es/rs_es/query/struct.TypeFilter.html index 562f26b..b30e125 100644 --- a/rs-es/rs_es/query/struct.TypeFilter.html +++ b/rs-es/rs_es/query/struct.TypeFilter.html @@ -43,7 +43,7 @@
fn with_minimum_should_match<T: Into<MinimumShouldMatch>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]TypeFilter pub struct TypeFilter { // some fields omitted }Methods
impl TypeFilter
diff --git a/rs-es/rs_es/query/struct.WildcardQuery.html b/rs-es/rs_es/query/struct.WildcardQuery.html index 7fa54de..f5c3077 100644 --- a/rs-es/rs_es/query/struct.WildcardQuery.html +++ b/rs-es/rs_es/query/struct.WildcardQuery.html @@ -43,7 +43,7 @@
fn with_cache<T: Into<bool>>(self, value: T) -> Self
Struct rs_es::
+ [src]query:: [-] [+] - [src]WildcardQuery pub struct WildcardQuery { // some fields omitted }Methods
impl WildcardQuery
diff --git a/rs-es/rs_es/sidebar-items.js b/rs-es/rs_es/sidebar-items.js index ca47a7e..8d656e3 100644 --- a/rs-es/rs_es/sidebar-items.js +++ b/rs-es/rs_es/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"mod":[["error","Errors and error conversion code for the `rs_es` crate"],["operations","Implementations of specific ElasticSearch operations"],["query","Implementation of the ElasticSearch Query DSL."],["units","Various re-occuring types that are used by the ElasticSearch API."],["util","Miscellaneous code used in numerous places"]],"struct":[["Client","The core of the ElasticSearch client, owns a HTTP connection."]],"fn":[["do_req","Process the result of an HTTP request, returning the status code and the `Json` result (if the result had a body) or an `EsError` if there were any errors"]]}); \ No newline at end of file +initSidebarItems({"fn":[["do_req","Process the result of an HTTP request, returning the status code and the `Json` result (if the result had a body) or an `EsError` if there were any errors"]],"mod":[["error","Errors and error conversion code for the `rs_es` crate"],["operations","Implementations of specific ElasticSearch operations"],["query","Implementation of the ElasticSearch Query DSL."],["units","Various re-occuring types that are used by the ElasticSearch API."],["util","Miscellaneous code used in numerous places"]],"struct":[["Client","The core of the ElasticSearch client, owns a HTTP connection."]]}); \ No newline at end of file diff --git a/rs-es/rs_es/stability.html b/rs-es/rs_es/stability.html index 07f241c..a3ca3b4 100644 --- a/rs-es/rs_es/stability.html +++ b/rs-es/rs_es/stability.html @@ -45,13 +45,13 @@ the crate, according to the total number of items at each level in the module and its children (percentages total for rs_es):
fn with_boost<T: Into<f64>>(self, value: T) -> Self
- stable (6%),The counts do not include methods or trait -implementations that are visible only through a re-exported type.
+ stable (7%),
unstable (0%),
deprecated (0%),
- unmarked (93%) + unmarked (92%)+implementations that are visible only through a re-exported type.
rs_es      rs_es::error      rs_es::operations      rs_es::operations::bulk      rs_es::operations::delete      rs_es::operations::get      rs_es::operations::index      rs_es::operations::search      rs_es::query      rs_es::units      rs_es::util      diff --git a/rs-es/rs_es/stability.json b/rs-es/rs_es/stability.json index 5b16e33..eca8dde 100644 --- a/rs-es/rs_es/stability.json +++ b/rs-es/rs_es/stability.json @@ -1 +1 @@ -{"name":"rs_es","counts":{"deprecated":0,"unstable":0,"stable":80,"unmarked":1116},"submodules":[{"name":"error","counts":{"deprecated":0,"unstable":0,"stable":9,"unmarked":9},"submodules":[]},{"name":"operations","counts":{"deprecated":0,"unstable":0,"stable":30,"unmarked":235},"submodules":[{"name":"bulk","counts":{"deprecated":0,"unstable":0,"stable":4,"unmarked":43},"submodules":[]},{"name":"delete","counts":{"deprecated":0,"unstable":0,"stable":6,"unmarked":29},"submodules":[]},{"name":"get","counts":{"deprecated":0,"unstable":0,"stable":2,"unmarked":17},"submodules":[]},{"name":"index","counts":{"deprecated":0,"unstable":0,"stable":3,"unmarked":19},"submodules":[]},{"name":"search","counts":{"deprecated":0,"unstable":0,"stable":13,"unmarked":118},"submodules":[]}]},{"name":"query","counts":{"deprecated":0,"unstable":0,"stable":28,"unmarked":815},"submodules":[]},{"name":"units","counts":{"deprecated":0,"unstable":0,"stable":13,"unmarked":39},"submodules":[]},{"name":"util","counts":{"deprecated":0,"unstable":0,"stable":0,"unmarked":3},"submodules":[]}]} \ No newline at end of file +{"name":"rs_es","counts":{"deprecated":0,"unstable":0,"stable":91,"unmarked":1140},"submodules":[{"name":"error","counts":{"deprecated":0,"unstable":0,"stable":9,"unmarked":9},"submodules":[]},{"name":"operations","counts":{"deprecated":0,"unstable":0,"stable":41,"unmarked":259},"submodules":[{"name":"bulk","counts":{"deprecated":0,"unstable":0,"stable":4,"unmarked":43},"submodules":[]},{"name":"common","counts":{"deprecated":0,"unstable":0,"stable":13,"unmarked":21},"submodules":[]},{"name":"delete","counts":{"deprecated":0,"unstable":0,"stable":6,"unmarked":29},"submodules":[]},{"name":"get","counts":{"deprecated":0,"unstable":0,"stable":2,"unmarked":20},"submodules":[]},{"name":"index","counts":{"deprecated":0,"unstable":0,"stable":2,"unmarked":19},"submodules":[]},{"name":"search","counts":{"deprecated":0,"unstable":0,"stable":12,"unmarked":118},"submodules":[]}]},{"name":"query","counts":{"deprecated":0,"unstable":0,"stable":28,"unmarked":815},"submodules":[]},{"name":"units","counts":{"deprecated":0,"unstable":0,"stable":13,"unmarked":39},"submodules":[]},{"name":"util","counts":{"deprecated":0,"unstable":0,"stable":0,"unmarked":3},"submodules":[]}]} \ No newline at end of file diff --git a/rs-es/rs_es/struct.Client.html b/rs-es/rs_es/struct.Client.html index 5841bbe..b555560 100644 --- a/rs-es/rs_es/struct.Client.html +++ b/rs-es/rs_es/struct.Client.html @@ -43,7 +43,7 @@
rs_es      rs_es::error      rs_es::operations      rs_es::operations::bulk      rs_es::operations::common      rs_es::operations::delete      rs_es::operations::get      rs_es::operations::index      rs_es::operations::search      rs_es::query      rs_es::units      rs_es::util      Struct rs_es::
+ [src]Client [-] [+] - [src]pub struct Client { // some fields omitted }The core of the ElasticSearch client, owns a HTTP connection.
diff --git a/rs-es/rs_es/units/enum.DistanceType.html b/rs-es/rs_es/units/enum.DistanceType.html index 77fb1a0..2f0530c 100644 --- a/rs-es/rs_es/units/enum.DistanceType.html +++ b/rs-es/rs_es/units/enum.DistanceType.html @@ -43,7 +43,7 @@Enum rs_es::
units::