MCPcopy Create free account

hub / github.com/benashford/rs-es / functions

Functions309 in github.com/benashford/rs-es

↓ 28 callersMethodsend
(&'b mut self)
src/operations/search/mod.rs:462
↓ 26 callersMethodwith_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/search/mod.rs:419
↓ 25 callersFunctionserialize_map_optional_kv
Useful serialization functions
src/json.rs:34
↓ 23 callersFunctionmake_client
()
src/lib.rs:216
↓ 21 callersFunctionclean_db
(client: &mut Client, test_idx: &str)
src/lib.rs:280
↓ 17 callersMethodsearch_query
Search via the query DSL See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-request-body.html
src/operations/search/mod.rs:832
↓ 16 callersMethoditer
Returns an iterator from which hits can be read
src/operations/search/mod.rs:1070
↓ 16 callersMethodread_response
(self)
src/lib.rs:63
↓ 16 callersMethodwith_int_field
(mut self, i: i64)
src/lib.rs:246
↓ 14 callersMethodstatus_code
(&self)
src/lib.rs:59
↓ 12 callersMethodwith_str_field
(mut self, s: &str)
src/query/geo.rs:399
↓ 11 callersMethodsend
(&'b mut self)
src/operations/get.rs:98
↓ 10 callersMethodbuild
(self)
src/query/functions.rs:88
↓ 9 callersMethodpush
Add a value ``` use rs_es::operations::common::Options; let mut options = Options::new(); options.push("a", 1); options.push("b", "2"); ```
src/operations/common.rs:66
↓ 9 callersMethodwith_doc
(&'b mut self, doc: &'b E)
src/operations/index.rs:78
↓ 8 callersMethodbuild
(self)
src/operations/search/mod.rs:196
↓ 8 callersMethodget
(&'a self, key: &str)
src/operations/search/aggregations/mod.rs:175
↓ 8 callersMethodjoin
(self, join: &str)
src/util.rs:45
↓ 8 callersMethodrefresh
Refresh See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/indices-refresh.html
src/operations/refresh.rs:66
↓ 8 callersMethodwith_query
(&'b mut self, qs: S)
src/operations/search/mod.rs:429
↓ 7 callersMethodindex
An index action. Takes the document to be indexed, other parameters can be set as optional on the `Action` struct returned.
src/operations/bulk.rs:113
↓ 7 callersFunctionsetup_test_data
(mut client: &mut Client, index_name: &str)
src/query/geo.rs:410
↓ 7 callersMethodwith_index
(&'b mut self, index: &'b str)
src/operations/bulk.rs:206
↓ 6 callersMethodbulk
Bulk See: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
src/operations/bulk.rs:272
↓ 6 callersMethodsend
(&'b mut self)
src/operations/search/count.rs:75
↓ 6 callersMethodwith_doc_type
(&'b mut self, doc_type: &'b str)
src/operations/get.rs:80
↓ 6 callersMethodwith_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/search/count.rs:53
↓ 5 callersMethodis_empty
(&self)
src/operations/common.rs:54
↓ 5 callersMethodsearch_uri
Search via the query parameter See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-uri-request.html
src/operations/search/mod.rs:825
↓ 5 callersMethodwith_query
(&'b mut self, qs: S)
src/operations/search/count.rs:63
↓ 5 callersMethodwith_size
(&mut self, size: u64)
src/operations/search/mod.rs:652
↓ 5 callersMethodwith_sort
(&mut self, sort: &'b Sort)
src/operations/search/mod.rs:680
↓ 4 callersMethodaggs_ref
Take a reference to any aggregations in this result
src/operations/search/mod.rs:943
↓ 4 callersMethodas_ref
(&self)
src/operations/search/aggregations/bucket.rs:228
↓ 4 callersMethodclose
Calls ES to close the server-side part of the scan/scroll operation
src/operations/search/mod.rs:1113
↓ 4 callersMethoddelete_index
Delete given index TODO: ensure all options are supported, replace with a `DeleteIndexOperation` to follow the pattern defined elsewhere. See: https
src/operations/delete_index.rs:32
↓ 4 callersMethodfinalize
(self)
src/operations/search/mod.rs:916
↓ 4 callersFunctionhashmap
(k: K, v: V)
src/operations/mapping.rs:276
↓ 4 callersFunctionhashmap2
(k1: K, v1: V, k2: K, v2: V)
src/operations/mapping.rs:286
↓ 4 callersMethodscan
(&'b mut self, scroll: &'b Duration)
src/operations/search/mod.rs:761
↓ 4 callersMethodscroll
Calls the `/_search/scroll` ES end-point for the next page
src/operations/search/mod.rs:1080
↓ 4 callersFunctionsetup_scan_data
(client: &mut Client, index_name: &str)
src/operations/search/mod.rs:1157
↓ 4 callersMethodwith_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/refresh.rs:44
↓ 3 callersMethodcount_query
Count via the query DSL See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-request-body.html
src/operations/search/count.rs:180
↓ 3 callersMethodcount_uri
Count via the query parameter See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-uri-request.html
src/operations/search/count.rs:173
↓ 3 callersMethodhits
(self)
src/operations/search/mod.rs:871
↓ 3 callersMethodwith_values
(mut self, values: T)
src/query/term.rs:209
↓ 2 callersMethodadd
Add an aggregation to the set of aggregations
src/operations/search/aggregations/mod.rs:104
↓ 2 callersMethodas_ref
(&self)
src/query/term.rs:378
↓ 2 callersMethoddetails
(&self)
src/operations/search/aggregations/bucket.rs:695
↓ 2 callersMethoddo_es_op
( &self, url: &str, action: impl FnOnce(Url) -> RequestBuilder, )
src/lib.rs:118
↓ 2 callersMethodindex
An index operation to index a document in the specified index. See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/docs-index_.html
src/operations/index.rs:125
↓ 2 callersFunctionmake_document
(idx: i64)
src/operations/search/mod.rs:1151
↓ 2 callersMethodsend
(&'b mut self)
src/operations/index.rs:98
↓ 2 callersMethodsend
(&'a mut self)
src/operations/delete.rs:69
↓ 2 callersMethodsend
If settings have been provided, the index will be created with them. If the index already exists, an `Err(EsError)` will be returned. If mapping have
src/operations/mapping.rs:95
↓ 2 callersMethodto_string
(&self)
src/units.rs:48
↓ 2 callersMethodto_string
(&self)
src/query/mod.rs:87
↓ 2 callersMethodto_string
(&self)
src/operations/bulk.rs:61
↓ 2 callersMethodto_string
(&self)
src/operations/search/mod.rs:66
↓ 2 callersMethodwith_aggs
Specify any aggregations
src/operations/search/mod.rs:702
↓ 2 callersMethodwith_geojson
Use a geojson object as shape. Require to enable the `geo` feature.
src/query/geo.rs:76
↓ 2 callersMethodwith_id
(&'b mut self, id: &'b str)
src/operations/index.rs:83
↓ 2 callersMethodwith_mapping
Set the actual mapping
src/operations/mapping.rs:79
↓ 2 callersMethodwith_settings
Set the settings
src/operations/mapping.rs:85
↓ 2 callersMethodwith_version
(&mut self, version: bool)
src/operations/search/mod.rs:657
↓ 1 callersMethodadd
Add the serialized version of this action to the bulk `String`.
src/operations/bulk.rs:129
↓ 1 callersMethodadd_param
(mut self, key: A, value: B)
src/query/functions.rs:79
↓ 1 callersMethodadd_setting
Add a field to highlight to the set
src/operations/search/highlight.rs:236
↓ 1 callersMethodbuild_gauss
(self)
src/query/functions.rs:286
↓ 1 callersMethodclose_index
Close the index, making it unavailable and modifiable.
src/operations/mapping.rs:141
↓ 1 callersMethoddelete
Delete by ID See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/docs-delete.html
src/operations/delete.rs:89
↓ 1 callersFunctiondo_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 er
src/lib.rs:79
↓ 1 callersMethodformat_actions
(&self)
src/operations/bulk.rs:235
↓ 1 callersFunctionformat_multi
A repeating convention in the ElasticSearch REST API is parameters that can take multiple values
src/operations/mod.rs:48
↓ 1 callersMethodformat_url
(&self)
src/operations/bulk.rs:219
↓ 1 callersMethodfull_url
Take a nearly complete ElasticSearch URL, and stick the URL on the front.
src/lib.rs:193
↓ 1 callersMethodget
Implementation of the ES GET API See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/docs-get.html
src/operations/get.rs:120
↓ 1 callersMethodmerge_serialize
(&self, _: &mut S)
src/json.rs:57
↓ 1 callersMethodmerge_serialize
(&self, serializer: &mut S)
src/operations/search/aggregations/bucket.rs:306
↓ 1 callersMethodnext_page
Fetch the next page and return the first hit, or None if there are no hits
src/operations/search/mod.rs:967
↓ 1 callersFunctionobject_to_result
Loads a Json object of aggregation results into an `AggregationsResult`.
src/operations/search/aggregations/mod.rs:143
↓ 1 callersMethodopen_index
Open the index, making it available.
src/operations/mapping.rs:127
↓ 1 callersMethodsend
(&mut self)
src/operations/version.rs:33
↓ 1 callersMethodsend
(&self)
src/operations/bulk.rs:243
↓ 1 callersMethodto_string
(&self)
src/operations/common.rs:118
↓ 1 callersMethodversion
Calls the base ES path, returning the version number
src/operations/version.rs:41
↓ 1 callersMethodwait_for_status
TODO: Return proper health data from https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html
src/operations/mapping.rs:156
↓ 1 callersMethodwith_bool_field
(mut self, b: bool)
src/lib.rs:251
↓ 1 callersMethodwith_doc_type
(&'b mut self, doc_type: &'b str)
src/operations/bulk.rs:211
↓ 1 callersMethodwith_fields
(&'b mut self, fields: &[&str])
src/operations/search/mod.rs:457
↓ 1 callersMethodwith_function
(mut self, function: A)
src/query/compound.rs:186
↓ 1 callersMethodwith_highlight
Specify fields to highlight
src/operations/search/mod.rs:708
↓ 1 callersMethodwith_source
Specify source filtering, by default full source will be returned in a hit To switch-off source document in each hit: `with_source(Source::Off)`. To
src/operations/search/mod.rs:696
↓ 1 callersMethodwith_type
(&mut self, setting_type: SettingTypes)
src/operations/search/highlight.rs:143
Methodadd_param
(mut self, key: K, value: V)
src/operations/search/mod.rs:296
Methodanalyze
Analyze See: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html
src/operations/analyze.rs:78
Methodas_ref
(&self)
src/query/full_text.rs:420
Methodasc
Create an `Order` ascending
src/operations/search/aggregations/bucket.rs:268
Methodbuild_bool
()
src/query/compound.rs:99
next →1–100 of 309, ranked by callers