Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benashford/rs-es
/ functions
Functions
309 in github.com/benashford/rs-es
⨍
Functions
309
◇
Types & classes
255
↓ 28 callers
Method
send
(&'b mut self)
src/operations/search/mod.rs:462
↓ 26 callers
Method
with_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/search/mod.rs:419
↓ 25 callers
Function
serialize_map_optional_kv
Useful serialization functions
src/json.rs:34
↓ 23 callers
Function
make_client
()
src/lib.rs:216
↓ 21 callers
Function
clean_db
(client: &mut Client, test_idx: &str)
src/lib.rs:280
↓ 17 callers
Method
search_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 callers
Method
iter
Returns an iterator from which hits can be read
src/operations/search/mod.rs:1070
↓ 16 callers
Method
read_response
(self)
src/lib.rs:63
↓ 16 callers
Method
with_int_field
(mut self, i: i64)
src/lib.rs:246
↓ 14 callers
Method
status_code
(&self)
src/lib.rs:59
↓ 12 callers
Method
with_str_field
(mut self, s: &str)
src/query/geo.rs:399
↓ 11 callers
Method
send
(&'b mut self)
src/operations/get.rs:98
↓ 10 callers
Method
build
(self)
src/query/functions.rs:88
↓ 9 callers
Method
push
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 callers
Method
with_doc
(&'b mut self, doc: &'b E)
src/operations/index.rs:78
↓ 8 callers
Method
build
(self)
src/operations/search/mod.rs:196
↓ 8 callers
Method
get
(&'a self, key: &str)
src/operations/search/aggregations/mod.rs:175
↓ 8 callers
Method
join
(self, join: &str)
src/util.rs:45
↓ 8 callers
Method
refresh
Refresh See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/indices-refresh.html
src/operations/refresh.rs:66
↓ 8 callers
Method
with_query
(&'b mut self, qs: S)
src/operations/search/mod.rs:429
↓ 7 callers
Method
index
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 callers
Function
setup_test_data
(mut client: &mut Client, index_name: &str)
src/query/geo.rs:410
↓ 7 callers
Method
with_index
(&'b mut self, index: &'b str)
src/operations/bulk.rs:206
↓ 6 callers
Method
bulk
Bulk See: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
src/operations/bulk.rs:272
↓ 6 callers
Method
send
(&'b mut self)
src/operations/search/count.rs:75
↓ 6 callers
Method
with_doc_type
(&'b mut self, doc_type: &'b str)
src/operations/get.rs:80
↓ 6 callers
Method
with_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/search/count.rs:53
↓ 5 callers
Method
is_empty
(&self)
src/operations/common.rs:54
↓ 5 callers
Method
search_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 callers
Method
with_query
(&'b mut self, qs: S)
src/operations/search/count.rs:63
↓ 5 callers
Method
with_size
(&mut self, size: u64)
src/operations/search/mod.rs:652
↓ 5 callers
Method
with_sort
(&mut self, sort: &'b Sort)
src/operations/search/mod.rs:680
↓ 4 callers
Method
aggs_ref
Take a reference to any aggregations in this result
src/operations/search/mod.rs:943
↓ 4 callers
Method
as_ref
(&self)
src/operations/search/aggregations/bucket.rs:228
↓ 4 callers
Method
close
Calls ES to close the server-side part of the scan/scroll operation
src/operations/search/mod.rs:1113
↓ 4 callers
Method
delete_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 callers
Method
finalize
(self)
src/operations/search/mod.rs:916
↓ 4 callers
Function
hashmap
(k: K, v: V)
src/operations/mapping.rs:276
↓ 4 callers
Function
hashmap2
(k1: K, v1: V, k2: K, v2: V)
src/operations/mapping.rs:286
↓ 4 callers
Method
scan
(&'b mut self, scroll: &'b Duration)
src/operations/search/mod.rs:761
↓ 4 callers
Method
scroll
Calls the `/_search/scroll` ES end-point for the next page
src/operations/search/mod.rs:1080
↓ 4 callers
Function
setup_scan_data
(client: &mut Client, index_name: &str)
src/operations/search/mod.rs:1157
↓ 4 callers
Method
with_indexes
(&'b mut self, indexes: &'b [&'b str])
src/operations/refresh.rs:44
↓ 3 callers
Method
count_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 callers
Method
count_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 callers
Method
hits
(self)
src/operations/search/mod.rs:871
↓ 3 callers
Method
with_values
(mut self, values: T)
src/query/term.rs:209
↓ 2 callers
Method
add
Add an aggregation to the set of aggregations
src/operations/search/aggregations/mod.rs:104
↓ 2 callers
Method
as_ref
(&self)
src/query/term.rs:378
↓ 2 callers
Method
details
(&self)
src/operations/search/aggregations/bucket.rs:695
↓ 2 callers
Method
do_es_op
( &self, url: &str, action: impl FnOnce(Url) -> RequestBuilder, )
src/lib.rs:118
↓ 2 callers
Method
index
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 callers
Function
make_document
(idx: i64)
src/operations/search/mod.rs:1151
↓ 2 callers
Method
send
(&'b mut self)
src/operations/index.rs:98
↓ 2 callers
Method
send
(&'a mut self)
src/operations/delete.rs:69
↓ 2 callers
Method
send
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 callers
Method
to_string
(&self)
src/units.rs:48
↓ 2 callers
Method
to_string
(&self)
src/query/mod.rs:87
↓ 2 callers
Method
to_string
(&self)
src/operations/bulk.rs:61
↓ 2 callers
Method
to_string
(&self)
src/operations/search/mod.rs:66
↓ 2 callers
Method
with_aggs
Specify any aggregations
src/operations/search/mod.rs:702
↓ 2 callers
Method
with_geojson
Use a geojson object as shape. Require to enable the `geo` feature.
src/query/geo.rs:76
↓ 2 callers
Method
with_id
(&'b mut self, id: &'b str)
src/operations/index.rs:83
↓ 2 callers
Method
with_mapping
Set the actual mapping
src/operations/mapping.rs:79
↓ 2 callers
Method
with_settings
Set the settings
src/operations/mapping.rs:85
↓ 2 callers
Method
with_version
(&mut self, version: bool)
src/operations/search/mod.rs:657
↓ 1 callers
Method
add
Add the serialized version of this action to the bulk `String`.
src/operations/bulk.rs:129
↓ 1 callers
Method
add_param
(mut self, key: A, value: B)
src/query/functions.rs:79
↓ 1 callers
Method
add_setting
Add a field to highlight to the set
src/operations/search/highlight.rs:236
↓ 1 callers
Method
build_gauss
(self)
src/query/functions.rs:286
↓ 1 callers
Method
close_index
Close the index, making it unavailable and modifiable.
src/operations/mapping.rs:141
↓ 1 callers
Method
delete
Delete by ID See: https://www.elastic.co/guide/en/elasticsearch/reference/1.x/docs-delete.html
src/operations/delete.rs:89
↓ 1 callers
Function
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 er
src/lib.rs:79
↓ 1 callers
Method
format_actions
(&self)
src/operations/bulk.rs:235
↓ 1 callers
Function
format_multi
A repeating convention in the ElasticSearch REST API is parameters that can take multiple values
src/operations/mod.rs:48
↓ 1 callers
Method
format_url
(&self)
src/operations/bulk.rs:219
↓ 1 callers
Method
full_url
Take a nearly complete ElasticSearch URL, and stick the URL on the front.
src/lib.rs:193
↓ 1 callers
Method
get
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 callers
Method
merge_serialize
(&self, _: &mut S)
src/json.rs:57
↓ 1 callers
Method
merge_serialize
(&self, serializer: &mut S)
src/operations/search/aggregations/bucket.rs:306
↓ 1 callers
Method
next_page
Fetch the next page and return the first hit, or None if there are no hits
src/operations/search/mod.rs:967
↓ 1 callers
Function
object_to_result
Loads a Json object of aggregation results into an `AggregationsResult`.
src/operations/search/aggregations/mod.rs:143
↓ 1 callers
Method
open_index
Open the index, making it available.
src/operations/mapping.rs:127
↓ 1 callers
Method
send
(&mut self)
src/operations/version.rs:33
↓ 1 callers
Method
send
(&self)
src/operations/bulk.rs:243
↓ 1 callers
Method
to_string
(&self)
src/operations/common.rs:118
↓ 1 callers
Method
version
Calls the base ES path, returning the version number
src/operations/version.rs:41
↓ 1 callers
Method
wait_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 callers
Method
with_bool_field
(mut self, b: bool)
src/lib.rs:251
↓ 1 callers
Method
with_doc_type
(&'b mut self, doc_type: &'b str)
src/operations/bulk.rs:211
↓ 1 callers
Method
with_fields
(&'b mut self, fields: &[&str])
src/operations/search/mod.rs:457
↓ 1 callers
Method
with_function
(mut self, function: A)
src/query/compound.rs:186
↓ 1 callers
Method
with_highlight
Specify fields to highlight
src/operations/search/mod.rs:708
↓ 1 callers
Method
with_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 callers
Method
with_type
(&mut self, setting_type: SettingTypes)
src/operations/search/highlight.rs:143
Method
add_param
(mut self, key: K, value: V)
src/operations/search/mod.rs:296
Method
analyze
Analyze See: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html
src/operations/analyze.rs:78
Method
as_ref
(&self)
src/query/full_text.rs:420
Method
asc
Create an `Order` ascending
src/operations/search/aggregations/bucket.rs:268
Method
build_bool
()
src/query/compound.rs:99
next →
1–100 of 309, ranked by callers