From 9d00eff0d613ebaef875ec889bc3afcba841eaa4 Mon Sep 17 00:00:00 2001 From: Ben Ashford Date: Thu, 18 Jun 2015 16:35:26 +0100 Subject: [PATCH] rs_es documentation update --- .../collections/string/trait.ToString.js | 2 +- rs-es/implementors/core/convert/trait.From.js | 2 +- .../rustc_serialize/json/trait.ToJson.js | 2 +- rs-es/rs_es/fn.do_req.html | 2 +- .../operations/bulk/enum.ActionType.html | 2 +- rs-es/rs_es/operations/bulk/index.html | 2 +- rs-es/rs_es/operations/bulk/sidebar-items.js | 2 +- .../rs_es/operations/bulk/struct.Action.html | 4 +- .../operations/bulk/struct.ActionResult.html | 2 +- .../operations/bulk/struct.ActionSource.html | 2 +- .../operations/bulk/struct.BulkOperation.html | 6 +- .../operations/bulk/struct.BulkResult.html | 2 +- .../operations/common/enum.Consistency.html | 101 ++++++ .../common/enum.DefaultOperator.html | 100 ++++++ .../operations/common/enum.VersionType.html | 105 +++++++ rs-es/rs_es/operations/common/index.html | 134 ++++++++ .../rs_es/operations/common/sidebar-items.js | 2 +- .../operations/common/struct.OptionVal.html | 119 +++++++ .../operations/common/struct.Options.html | 106 +++++++ rs-es/rs_es/operations/delete/index.html | 2 +- .../struct.DeleteByQueryIndexResult.html | 2 +- .../delete/struct.DeleteByQueryOperation.html | 12 +- .../delete/struct.DeleteByQueryResult.html | 2 +- .../delete/struct.DeleteOperation.html | 14 +- .../delete/struct.DeleteResult.html | 2 +- .../rs_es/operations/get/enum.Preference.html | 100 ++++++ rs-es/rs_es/operations/get/index.html | 10 +- rs-es/rs_es/operations/get/sidebar-items.js | 2 +- .../operations/get/struct.GetOperation.html | 14 +- .../operations/get/struct.GetResult.html | 2 +- rs-es/rs_es/operations/index.html | 7 + rs-es/rs_es/operations/index/enum.OpType.html | 5 +- rs-es/rs_es/operations/index/index.html | 2 +- rs-es/rs_es/operations/index/sidebar-items.js | 2 +- .../index/struct.IndexOperation.html | 20 +- .../operations/index/struct.IndexResult.html | 2 +- .../rs_es/operations/search/enum.Missing.html | 9 +- rs-es/rs_es/operations/search/enum.Mode.html | 5 +- rs-es/rs_es/operations/search/enum.Order.html | 2 +- .../operations/search/enum.SearchType.html | 2 +- .../rs_es/operations/search/enum.SortBy.html | 2 +- rs-es/rs_es/operations/search/index.html | 11 +- .../rs_es/operations/search/sidebar-items.js | 2 +- .../operations/search/struct.GeoDistance.html | 2 +- .../search/struct.ScanIterator.html | 10 +- .../operations/search/struct.ScanResult.html | 2 +- .../operations/search/struct.Script.html | 2 +- .../search/struct.SearchHitsHitsResult.html | 2 +- .../search/struct.SearchHitsResult.html | 2 +- .../search/struct.SearchQueryOperation.html | 8 +- .../search/struct.SearchResult.html | 2 +- .../search/struct.SearchURIOperation.html | 37 +-- .../rs_es/operations/search/struct.Sort.html | 5 +- .../operations/search/struct.SortField.html | 5 +- rs-es/rs_es/operations/sidebar-items.js | 2 +- .../operations/struct.RefreshOperation.html | 2 +- .../operations/struct.RefreshResult.html | 2 +- .../operations/struct.ShardCountResult.html | 2 +- rs-es/rs_es/query/enum.BoostMode.html | 2 +- rs-es/rs_es/query/enum.Execution.html | 2 +- rs-es/rs_es/query/enum.Filter.html | 2 +- rs-es/rs_es/query/enum.Flag.html | 2 +- rs-es/rs_es/query/enum.Func.html | 2 +- rs-es/rs_es/query/enum.Fuzziness.html | 2 +- rs-es/rs_es/query/enum.GeoBox.html | 2 +- rs-es/rs_es/query/enum.MatchQueryType.html | 2 +- rs-es/rs_es/query/enum.MatchType.html | 2 +- .../rs_es/query/enum.MinimumShouldMatch.html | 2 +- rs-es/rs_es/query/enum.Modifier.html | 2 +- rs-es/rs_es/query/enum.MultiValueMode.html | 2 +- rs-es/rs_es/query/enum.NoMatchFilter.html | 2 +- rs-es/rs_es/query/enum.OptimizeBbox.html | 2 +- rs-es/rs_es/query/enum.Precision.html | 2 +- rs-es/rs_es/query/enum.Query.html | 2 +- rs-es/rs_es/query/enum.Rewrite.html | 2 +- rs-es/rs_es/query/enum.ScoreMode.html | 2 +- rs-es/rs_es/query/enum.Strategy.html | 2 +- rs-es/rs_es/query/enum.ZeroTermsQuery.html | 2 +- rs-es/rs_es/query/index.html | 4 +- rs-es/rs_es/query/sidebar-items.js | 2 +- rs-es/rs_es/query/struct.AndFilter.html | 2 +- rs-es/rs_es/query/struct.BoolFilter.html | 2 +- rs-es/rs_es/query/struct.BoolQuery.html | 2 +- rs-es/rs_es/query/struct.BoostingQuery.html | 2 +- .../struct.CombinationMinimumShouldMatch.html | 2 +- rs-es/rs_es/query/struct.CommonQuery.html | 2 +- .../query/struct.ConstantScoreQuery.html | 2 +- rs-es/rs_es/query/struct.DisMaxQuery.html | 2 +- rs-es/rs_es/query/struct.Distance.html | 2 +- rs-es/rs_es/query/struct.Doc.html | 2 +- rs-es/rs_es/query/struct.ExistsFilter.html | 2 +- rs-es/rs_es/query/struct.ExpFunc.html | 2 +- .../query/struct.FieldValueFactorFunc.html | 2 +- rs-es/rs_es/query/struct.FilteredQuery.html | 2 +- rs-es/rs_es/query/struct.Flags.html | 2 +- rs-es/rs_es/query/struct.Function.html | 2 +- .../query/struct.FunctionScoreQuery.html | 2 +- .../query/struct.FuzzyLikeThisFieldQuery.html | 2 +- .../query/struct.FuzzyLikeThisQuery.html | 2 +- rs-es/rs_es/query/struct.FuzzyQuery.html | 2 +- rs-es/rs_es/query/struct.GaussFunc.html | 2 +- .../query/struct.GeoBoundingBoxFilter.html | 2 +- .../rs_es/query/struct.GeoDistanceFilter.html | 2 +- .../rs_es/query/struct.GeoPolygonFilter.html | 2 +- rs-es/rs_es/query/struct.GeoShapeFilter.html | 2 +- rs-es/rs_es/query/struct.GeoShapeQuery.html | 2 +- .../rs_es/query/struct.GeohashCellFilter.html | 2 +- rs-es/rs_es/query/struct.HasChildFilter.html | 2 +- rs-es/rs_es/query/struct.HasChildQuery.html | 2 +- rs-es/rs_es/query/struct.HasParentFilter.html | 2 +- rs-es/rs_es/query/struct.HasParentQuery.html | 2 +- rs-es/rs_es/query/struct.IdsFilter.html | 2 +- rs-es/rs_es/query/struct.IdsQuery.html | 2 +- rs-es/rs_es/query/struct.IndexedShape.html | 2 +- rs-es/rs_es/query/struct.IndicesFilter.html | 2 +- rs-es/rs_es/query/struct.IndicesQuery.html | 2 +- rs-es/rs_es/query/struct.LinearFunc.html | 2 +- rs-es/rs_es/query/struct.MatchAllFilter.html | 2 +- rs-es/rs_es/query/struct.MatchAllQuery.html | 2 +- rs-es/rs_es/query/struct.MatchQuery.html | 2 +- rs-es/rs_es/query/struct.MissingFilter.html | 2 +- .../rs_es/query/struct.MoreLikeThisQuery.html | 2 +- rs-es/rs_es/query/struct.MultiMatchQuery.html | 2 +- rs-es/rs_es/query/struct.NestedFilter.html | 2 +- rs-es/rs_es/query/struct.NestedQuery.html | 2 +- rs-es/rs_es/query/struct.NotFilter.html | 2 +- rs-es/rs_es/query/struct.OrFilter.html | 2 +- rs-es/rs_es/query/struct.PrefixFilter.html | 2 +- rs-es/rs_es/query/struct.PrefixQuery.html | 2 +- rs-es/rs_es/query/struct.QueryFilter.html | 2 +- .../rs_es/query/struct.QueryStringQuery.html | 2 +- rs-es/rs_es/query/struct.RandomScoreFunc.html | 2 +- rs-es/rs_es/query/struct.RangeFilter.html | 2 +- rs-es/rs_es/query/struct.RangeQuery.html | 2 +- rs-es/rs_es/query/struct.RegexpFilter.html | 2 +- rs-es/rs_es/query/struct.RegexpQuery.html | 2 +- rs-es/rs_es/query/struct.ScriptFilter.html | 2 +- rs-es/rs_es/query/struct.ScriptScoreFunc.html | 2 +- rs-es/rs_es/query/struct.Shape.html | 2 +- .../query/struct.SimpleQueryStringQuery.html | 2 +- rs-es/rs_es/query/struct.SpanFirstQuery.html | 2 +- rs-es/rs_es/query/struct.SpanMultiQuery.html | 2 +- rs-es/rs_es/query/struct.SpanNearQuery.html | 2 +- rs-es/rs_es/query/struct.SpanNotQuery.html | 2 +- rs-es/rs_es/query/struct.SpanOrQuery.html | 2 +- rs-es/rs_es/query/struct.SpanTermQuery.html | 2 +- rs-es/rs_es/query/struct.TermFilter.html | 2 +- rs-es/rs_es/query/struct.TermQuery.html | 2 +- rs-es/rs_es/query/struct.TermsFilter.html | 2 +- rs-es/rs_es/query/struct.TermsQuery.html | 2 +- rs-es/rs_es/query/struct.TypeFilter.html | 2 +- rs-es/rs_es/query/struct.WildcardQuery.html | 2 +- rs-es/rs_es/sidebar-items.js | 2 +- rs-es/rs_es/stability.html | 6 +- rs-es/rs_es/stability.json | 2 +- rs-es/rs_es/struct.Client.html | 2 +- rs-es/rs_es/units/enum.DistanceType.html | 2 +- rs-es/rs_es/units/enum.DistanceUnit.html | 2 +- rs-es/rs_es/units/enum.DurationUnit.html | 2 +- rs-es/rs_es/units/enum.JsonVal.html | 2 +- rs-es/rs_es/units/enum.Location.html | 2 +- rs-es/rs_es/units/enum.OneOrMany.html | 2 +- rs-es/rs_es/units/index.html | 2 +- rs-es/rs_es/units/struct.Duration.html | 2 +- rs-es/search-index.js | 2 +- rs-es/src/rs_es/lib.rs.html | 22 +- rs-es/src/rs_es/operations/bulk.rs.html | 4 +- rs-es/src/rs_es/operations/common.rs.html | 296 +++++++++++++----- rs-es/src/rs_es/operations/delete.rs.html | 8 +- rs-es/src/rs_es/operations/get.rs.html | 36 ++- rs-es/src/rs_es/operations/index.rs.html | 12 +- rs-es/src/rs_es/operations/mod.rs.html | 10 +- rs-es/src/rs_es/operations/search.rs.html | 94 +++--- rs-es/src/rs_es/query.rs.html | 266 ++++++++-------- rs-es/src/rs_es/units.rs.html | 32 +- rs-es/src/rs_es/util.rs.html | 4 +- 176 files changed, 1513 insertions(+), 506 deletions(-) create mode 100644 rs-es/rs_es/operations/common/enum.Consistency.html create mode 100644 rs-es/rs_es/operations/common/enum.DefaultOperator.html create mode 100644 rs-es/rs_es/operations/common/enum.VersionType.html create mode 100644 rs-es/rs_es/operations/common/struct.OptionVal.html create mode 100644 rs-es/rs_es/operations/common/struct.Options.html create mode 100644 rs-es/rs_es/operations/get/enum.Preference.html diff --git a/rs-es/implementors/collections/string/trait.ToString.js b/rs-es/implementors/collections/string/trait.ToString.js index 0ad39da..b6d836c 100644 --- a/rs-es/implementors/collections/string/trait.ToString.js +++ b/rs-es/implementors/collections/string/trait.ToString.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['rs_es'] = ["impl ToString for ActionType","impl ToString for OpType","impl ToString for SearchType","impl ToString for Order","impl ToString for SortField","impl ToString for SortBy","impl ToString for Sort","impl ToString for CombinationMinimumShouldMatch","impl ToString for MinimumShouldMatch","impl ToString for Flag","impl ToString for DurationUnit","impl ToString for Duration","impl ToString for DistanceUnit",]; +implementors['rs_es'] = ["impl ToString for VersionType","impl ToString for ActionType","impl ToString for SearchType","impl ToString for Order","impl ToString for SortField","impl ToString for SortBy","impl ToString for CombinationMinimumShouldMatch","impl ToString for MinimumShouldMatch","impl ToString for Flag","impl ToString for DurationUnit","impl ToString for Duration","impl ToString for DistanceUnit",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/rs-es/implementors/core/convert/trait.From.js b/rs-es/implementors/core/convert/trait.From.js index edcb462..b9aa0ab 100644 --- a/rs-es/implementors/core/convert/trait.From.js +++ b/rs-es/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['rs_es'] = ["impl From<Error> for EsError","impl From<Error> for EsError","impl From<DecoderError> for EsError","impl From<EncoderError> for EsError","impl From<BuilderError> for EsError","impl<'a> From<&'a mut Response> for EsError","impl<'a> From<&'a String> for ActionType","impl<'a> From<&'a Json> for ActionResult","impl<'a> From<&'a Json> for BulkResult","impl<'a> From<&'a Json> for DeleteResult","impl<'a> From<&'a Json> for DeleteByQueryIndexResult","impl<'a> From<&'a Json> for DeleteByQueryResult","impl<'a> From<&'a Json> for GetResult","impl<'a> From<&'a Json> for IndexResult","impl<S: Into<String>> From<S> for Missing","impl<'a> From<&'a Json> for SearchHitsHitsResult","impl<'a> From<&'a Json> for SearchHitsResult","impl<'a> From<&'a Json> for SearchResult","impl<'a> From<&'a Json> for RefreshResult","impl From<Filter> for Box<Filter>","impl From<Query> for Box<Query>","impl From<i64> for Fuzziness","impl From<f64> for Fuzziness","impl From<i64> for MinimumShouldMatch","impl From<f64> for MinimumShouldMatch","impl From<CombinationMinimumShouldMatch> for MinimumShouldMatch","impl From<Vec<CombinationMinimumShouldMatch>> for MinimumShouldMatch","impl From<(i64, i64)> for MinimumShouldMatch","impl From<i64> for Strategy","impl From<(Location, Location)> for GeoBox","impl From<((f64, f64), (f64, f64))> for GeoBox","impl From<(f64, f64, f64, f64)> for GeoBox","impl From<i64> for Precision","impl From<Distance> for Precision","impl From<Filter> for NoMatchFilter","impl From<(f64, f64)> for Location","impl From<String> for Location","impl<T: ToJson> From<T> for OneOrMany<T>","impl<T: ToJson> From<Vec<T>> for OneOrMany<T>","impl From<String> for JsonVal","impl<'a> From<&'a str> for JsonVal","impl From<f64> for JsonVal","impl From<i64> for JsonVal",]; +implementors['rs_es'] = ["impl From<Error> for EsError","impl From<Error> for EsError","impl From<DecoderError> for EsError","impl From<EncoderError> for EsError","impl From<BuilderError> for EsError","impl<'a> From<&'a mut Response> for EsError","impl<'a> From<&'a str> for OptionVal","impl From<String> for OptionVal","impl From<i64> for OptionVal","impl From<bool> for OptionVal","impl From<VersionType> for OptionVal","impl From<Consistency> for OptionVal","impl From<DefaultOperator> for OptionVal","impl<'a> From<&'a String> for ActionType","impl<'a> From<&'a Json> for ActionResult","impl<'a> From<&'a Json> for BulkResult","impl<'a> From<&'a Json> for DeleteResult","impl<'a> From<&'a Json> for DeleteByQueryIndexResult","impl<'a> From<&'a Json> for DeleteByQueryResult","impl From<Preference> for OptionVal","impl<'a> From<&'a Json> for GetResult","impl From<OpType> for OptionVal","impl<'a> From<&'a Json> for IndexResult","impl<S: Into<String>> From<S> for Missing","impl<'a> From<&'a Sort> for OptionVal","impl<'a> From<&'a Json> for SearchHitsHitsResult","impl<'a> From<&'a Json> for SearchHitsResult","impl<'a> From<&'a Json> for SearchResult","impl<'a> From<&'a Json> for RefreshResult","impl From<Filter> for Box<Filter>","impl From<Query> for Box<Query>","impl From<i64> for Fuzziness","impl From<f64> for Fuzziness","impl From<i64> for MinimumShouldMatch","impl From<f64> for MinimumShouldMatch","impl From<CombinationMinimumShouldMatch> for MinimumShouldMatch","impl From<Vec<CombinationMinimumShouldMatch>> for MinimumShouldMatch","impl From<(i64, i64)> for MinimumShouldMatch","impl From<i64> for Strategy","impl From<(Location, Location)> for GeoBox","impl From<((f64, f64), (f64, f64))> for GeoBox","impl From<(f64, f64, f64, f64)> for GeoBox","impl From<i64> for Precision","impl From<Distance> for Precision","impl From<Filter> for NoMatchFilter","impl<'a> From<&'a Duration> for OptionVal","impl From<Duration> for OptionVal","impl From<(f64, f64)> for Location","impl From<String> for Location","impl<T: ToJson> From<T> for OneOrMany<T>","impl<T: ToJson> From<Vec<T>> for OneOrMany<T>","impl From<String> for JsonVal","impl<'a> From<&'a str> for JsonVal","impl From<f64> for JsonVal","impl From<i64> for JsonVal",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/rs-es/implementors/rustc_serialize/json/trait.ToJson.js b/rs-es/implementors/rustc_serialize/json/trait.ToJson.js index 4c0a043..16fa40f 100644 --- a/rs-es/implementors/rustc_serialize/json/trait.ToJson.js +++ b/rs-es/implementors/rustc_serialize/json/trait.ToJson.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['rs_es'] = ["impl ToJson for ActionSource","impl ToJson for Action","impl ToJson for Order","impl ToJson for Mode","impl ToJson for Missing","impl ToJson for SortField","impl ToJson for GeoDistance","impl ToJson for Script","impl ToJson for SortBy","impl ToJson for Sort","impl ToJson for Query","impl ToJson for Filter","impl ToJson for ZeroTermsQuery","impl ToJson for Fuzziness","impl ToJson for MatchType","impl ToJson for MatchQueryType","impl ToJson for MatchAllQuery","impl ToJson for MatchQuery","impl ToJson for MultiMatchQuery","impl ToJson for BoolQuery","impl ToJson for BoostingQuery","impl ToJson for CombinationMinimumShouldMatch","impl ToJson for MinimumShouldMatch","impl ToJson for CommonQuery","impl ToJson for ConstantScoreQuery","impl ToJson for DisMaxQuery","impl ToJson for Strategy","impl ToJson for FilteredQuery","impl ToJson for FuzzyLikeThisQuery","impl ToJson for FuzzyLikeThisFieldQuery","impl ToJson for ScoreMode","impl ToJson for BoostMode","impl ToJson for FunctionScoreQuery","impl ToJson for FuzzyQuery","impl ToJson for Shape","impl ToJson for IndexedShape","impl ToJson for GeoShapeQuery","impl ToJson for HasChildQuery","impl ToJson for HasParentQuery","impl ToJson for IdsQuery","impl ToJson for IndicesQuery","impl ToJson for Doc","impl ToJson for MoreLikeThisQuery","impl ToJson for NestedQuery","impl ToJson for Rewrite","impl ToJson for PrefixQuery","impl ToJson for QueryStringQuery","impl ToJson for SimpleQueryStringQuery","impl ToJson for RangeQuery","impl ToJson for Flags","impl ToJson for RegexpQuery","impl ToJson for SpanFirstQuery","impl ToJson for SpanMultiQuery","impl ToJson for SpanNearQuery","impl ToJson for SpanNotQuery","impl ToJson for SpanOrQuery","impl ToJson for SpanTermQuery","impl ToJson for TermQuery","impl ToJson for TermsQuery","impl ToJson for WildcardQuery","impl ToJson for AndFilter","impl ToJson for BoolFilter","impl ToJson for ExistsFilter","impl ToJson for GeoBox","impl ToJson for GeoBoundingBoxFilter","impl ToJson for Distance","impl ToJson for OptimizeBbox","impl ToJson for GeoDistanceFilter","impl ToJson for GeoPolygonFilter","impl ToJson for GeoShapeFilter","impl ToJson for Precision","impl ToJson for GeohashCellFilter","impl ToJson for HasChildFilter","impl ToJson for HasParentFilter","impl ToJson for IdsFilter","impl ToJson for NoMatchFilter","impl ToJson for IndicesFilter","impl ToJson for MatchAllFilter","impl ToJson for MissingFilter","impl ToJson for NestedFilter","impl ToJson for NotFilter","impl ToJson for OrFilter","impl ToJson for PrefixFilter","impl ToJson for QueryFilter","impl ToJson for RangeFilter","impl ToJson for RegexpFilter","impl ToJson for ScriptFilter","impl ToJson for TermFilter","impl ToJson for Execution","impl ToJson for TermsFilter","impl ToJson for TypeFilter","impl ToJson for Func","impl ToJson for ScriptScoreFunc","impl ToJson for RandomScoreFunc","impl ToJson for Modifier","impl ToJson for FieldValueFactorFunc","impl ToJson for MultiValueMode","impl ToJson for LinearFunc","impl ToJson for ExpFunc","impl ToJson for GaussFunc","impl ToJson for Function","impl ToJson for Duration","impl ToJson for Location","impl<T: ToJson> ToJson for OneOrMany<T>","impl ToJson for DistanceType","impl ToJson for DistanceUnit","impl ToJson for JsonVal",]; +implementors['rs_es'] = ["impl ToJson for VersionType","impl ToJson for ActionSource","impl ToJson for Action","impl ToJson for Order","impl ToJson for Mode","impl ToJson for Missing","impl ToJson for SortField","impl ToJson for GeoDistance","impl ToJson for Script","impl ToJson for SortBy","impl ToJson for Sort","impl ToJson for Query","impl ToJson for Filter","impl ToJson for ZeroTermsQuery","impl ToJson for Fuzziness","impl ToJson for MatchType","impl ToJson for MatchQueryType","impl ToJson for MatchAllQuery","impl ToJson for MatchQuery","impl ToJson for MultiMatchQuery","impl ToJson for BoolQuery","impl ToJson for BoostingQuery","impl ToJson for CombinationMinimumShouldMatch","impl ToJson for MinimumShouldMatch","impl ToJson for CommonQuery","impl ToJson for ConstantScoreQuery","impl ToJson for DisMaxQuery","impl ToJson for Strategy","impl ToJson for FilteredQuery","impl ToJson for FuzzyLikeThisQuery","impl ToJson for FuzzyLikeThisFieldQuery","impl ToJson for ScoreMode","impl ToJson for BoostMode","impl ToJson for FunctionScoreQuery","impl ToJson for FuzzyQuery","impl ToJson for Shape","impl ToJson for IndexedShape","impl ToJson for GeoShapeQuery","impl ToJson for HasChildQuery","impl ToJson for HasParentQuery","impl ToJson for IdsQuery","impl ToJson for IndicesQuery","impl ToJson for Doc","impl ToJson for MoreLikeThisQuery","impl ToJson for NestedQuery","impl ToJson for Rewrite","impl ToJson for PrefixQuery","impl ToJson for QueryStringQuery","impl ToJson for SimpleQueryStringQuery","impl ToJson for RangeQuery","impl ToJson for Flags","impl ToJson for RegexpQuery","impl ToJson for SpanFirstQuery","impl ToJson for SpanMultiQuery","impl ToJson for SpanNearQuery","impl ToJson for SpanNotQuery","impl ToJson for SpanOrQuery","impl ToJson for SpanTermQuery","impl ToJson for TermQuery","impl ToJson for TermsQuery","impl ToJson for WildcardQuery","impl ToJson for AndFilter","impl ToJson for BoolFilter","impl ToJson for ExistsFilter","impl ToJson for GeoBox","impl ToJson for GeoBoundingBoxFilter","impl ToJson for Distance","impl ToJson for OptimizeBbox","impl ToJson for GeoDistanceFilter","impl ToJson for GeoPolygonFilter","impl ToJson for GeoShapeFilter","impl ToJson for Precision","impl ToJson for GeohashCellFilter","impl ToJson for HasChildFilter","impl ToJson for HasParentFilter","impl ToJson for IdsFilter","impl ToJson for NoMatchFilter","impl ToJson for IndicesFilter","impl ToJson for MatchAllFilter","impl ToJson for MissingFilter","impl ToJson for NestedFilter","impl ToJson for NotFilter","impl ToJson for OrFilter","impl ToJson for PrefixFilter","impl ToJson for QueryFilter","impl ToJson for RangeFilter","impl ToJson for RegexpFilter","impl ToJson for ScriptFilter","impl ToJson for TermFilter","impl ToJson for Execution","impl ToJson for TermsFilter","impl ToJson for TypeFilter","impl ToJson for Func","impl ToJson for ScriptScoreFunc","impl ToJson for RandomScoreFunc","impl ToJson for Modifier","impl ToJson for FieldValueFactorFunc","impl ToJson for MultiValueMode","impl ToJson for LinearFunc","impl ToJson for ExpFunc","impl ToJson for GaussFunc","impl ToJson for Function","impl ToJson for Duration","impl ToJson for Location","impl<T: ToJson> ToJson for OneOrMany<T>","impl ToJson for DistanceType","impl ToJson for DistanceUnit","impl ToJson for JsonVal",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/rs-es/rs_es/fn.do_req.html b/rs-es/rs_es/fn.do_req.html index eaa5fd4..51d8979 100644 --- a/rs-es/rs_es/fn.do_req.html +++ b/rs-es/rs_es/fn.do_req.html @@ -43,7 +43,7 @@

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

diff --git a/rs-es/rs_es/operations/bulk/enum.ActionType.html b/rs-es/rs_es/operations/bulk/enum.ActionType.html index 79c7b39..8879db8 100644 --- a/rs-es/rs_es/operations/bulk/enum.ActionType.html +++ b/rs-es/rs_es/operations/bulk/enum.ActionType.html @@ -43,7 +43,7 @@

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::operations::bulk [-] [+] - [src]

+ [src]

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::operations::bulk::Action [-] [+] - [src]

+ [src]
pub struct Action {
     // some fields omitted
 }

A bulk operation consists of one or more Actions.

@@ -67,7 +67,7 @@

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

fn with_timestamp<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 @@

Struct rs_es::operations::bulk::ActionResult [-] [+] - [src]

+ [src]
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::operations::bulk::ActionSource [-] [+] - [src]

+ [src]
pub struct ActionSource {
     // some fields omitted
 }

Methods

impl ActionSource

fn new() -> 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 @@

Struct rs_es::operations::bulk::BulkOperation [-] [+] - [src]

+ [src]
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>

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::operations::bulk::BulkResult [-] [+] - [src]

+ [src]
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::common::Consistency + [-] [+] + [src]

+
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 @@ + + + + + + + + + + rs_es::operations::common::DefaultOperator - Rust + + + + + + + + + + + + + + + +
+

Enum rs_es::operations::common::DefaultOperator + [-] [+] + [src]

+
pub enum DefaultOperator {
+    And,
+    Or,
+}

Values for default_operator query parameters

+

Variants

+
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 @@ + + + + + + + + + + rs_es::operations::common::VersionType - Rust + + + + + + + + + + + + + + + +
+

Enum rs_es::operations::common::VersionType + [-] [+] + [src]

+
pub enum VersionType {
+    Internal,
+    External,
+    ExternalGt,
+    ExternalGte,
+    Force,
+}

Variants

+
Internal
External
ExternalGt
ExternalGte
Force

Trait Implementations

impl ToString for VersionType

fn to_string(&self) -> String

+

impl ToJson for VersionType

fn to_json(&self) -> Json

+
+ + + + + + + + + + + + + + + \ 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 @@ + + + + + + + + + + rs_es::operations::common - Rust + + + + + + + + + + + + + + + +
+

Module rs_es::operations::common + [-] [+] + [src]

+

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

The version_type field

+
+ + + + + + + + + + + + + + + \ 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 @@ + + + + + + + + + + rs_es::operations::common::OptionVal - Rust + + + + + + + + + + + + + + + +
+

Struct rs_es::operations::common::OptionVal + [-] [+] + [src]

+
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 to OptionVal

+

fn from(from: &'a str) -> OptionVal

+

impl From<String> for OptionVal

fn from(from: String) -> OptionVal

+

impl From<i64> for OptionVal

fn from(from: i64) -> OptionVal

+

impl From<bool> for OptionVal

fn from(from: bool) -> 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

impl From<Preference> for OptionVal

fn from(from: Preference) -> OptionVal

+

impl From<OpType> for OptionVal

fn from(from: OpType) -> OptionVal

+

impl<'a> From<&'a Sort> for OptionVal

Conversion of a Sort into an OptionVal 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);
+
+

fn from(from: &'a Sort) -> OptionVal

+

impl<'a> From<&'a Duration> for OptionVal

fn from(from: &'a Duration) -> OptionVal

+

impl From<Duration> for OptionVal

fn from(from: Duration) -> 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 @@ + + + + + + + + + + rs_es::operations::common::Options - Rust + + + + + + + + + + + + + + + +
+

Struct rs_es::operations::common::Options + [-] [+] + [src]

+
pub struct Options<'a>(pub Vec<(&'a str, OptionVal)>);

Every ES operation has a set of options

+

Methods

impl<'a> Options<'a>

fn new() -> Options<'a>

+

fn is_empty(&self) -> bool

+

fn push<O: Into<OptionVal>>(&mut self, key: &'a str, val: O)

+

Add a value

+
+use rs_es::operations::common::Options;
+let mut options = Options::new();
+options.push("a", 1);
+options.push("b", "2");
+
+
+ + + + + + + + + + + + + + + \ 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 @@

Module rs_es::operations::delete [-] [+] - [src]

+ [src]

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::operations::delete::DeleteByQueryIndexResult [-] [+] - [src]

+ [src]
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 @@

Struct rs_es::operations::delete::DeleteByQueryOperation [-] [+] - [src]

+ [src]
pub struct DeleteByQueryOperation<'a, 'b> {
     // some fields omitted
 }

Methods

impl<'a, 'b> DeleteByQueryOperation<'a, 'b>

fn new(client: &'a mut Client) -> DeleteByQueryOperation<'a, 'b>

@@ -51,11 +51,11 @@

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>

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::operations::delete::DeleteByQueryResult [-] [+] - [src]

+ [src]
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 @@

Struct rs_es::operations::delete::DeleteOperation [-] [+] - [src]

+ [src]
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>

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::operations::delete::DeleteResult [-] [+] - [src]

+ [src]
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::get::Preference + [-] [+] + [src]

+
pub enum Preference {
+    Primary,
+    Local,
+}

Values for the preference query parameter

+

Variants

+
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 @@

Module rs_es::operations::get [-] [+] - [src]

+ [src]

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 parameter

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 @@

Struct rs_es::operations::get::GetOperation [-] [+] - [src]

+ [src]
pub struct GetOperation<'a, 'b> {
     // some fields omitted
 }

An ES GET operation, to get a document by ID

@@ -51,12 +51,12 @@

Struct rs_esfn 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>

diff --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::operations::get::GetResult [-] [+] - [src]

+ [src]
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::operations::index::OpType [-] [+] - [src]

+ [src]

pub enum OpType {
     Create,
 }

Values for the op_type option

Variants

-
Create

Trait Implementations

impl ToString for OpType

fn to_string(&self) -> String

-
+
Create
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 @@

Module rs_es::operations::index [-] [+] - [src]

+ [src]

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 @@

Struct rs_es::operations::index::IndexOperation [-] [+] - [src]

+ [src]
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/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::operations::index::IndexResult [-] [+] - [src]

+ [src]
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::operations::search::Missing [-] [+] - [src]

+ [src]
pub enum Missing {
     First,
     Last,
     Custom(String),
-}

Variants

+}

Variants

First
Last
Custom

Trait Implementations

impl ToJson for Missing

fn to_json(&self) -> Json

-

impl<S: Into<String>> From<S> for Missing

fn from(from: S) -> Missing

+

impl<S: Into<String>> From<S> for Missing

Convert anything that can be converted into a String into a +Missing::Custom value

+

fn from(from: S) -> Missing

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 @@

Enum rs_es::operations::search::Mode [-] [+] - [src]

+ [src]
pub enum Mode {
     Min,
     Max,
     Sum,
     Avg,
-}

Variants

+}

Variants

Min
Max
Sum
Avg

Trait Implementations

impl ToJson for Mode

fn to_json(&self) -> Json

diff --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::operations::search::Order [-] [+] - [src]

+ [src]
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::operations::search::SearchType [-] [+] - [src]

+ [src]
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::operations::search::SortBy [-] [+] - [src]

+ [src]
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::operations::search [-] [+] - [src]

+ [src]

Implementations of both Search-by-URI and Search-by-Query operations

Structs

@@ -100,7 +100,8 @@

Module rs_es

- + @@ -122,13 +123,15 @@

Module rs_es

- + - + 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::operations::search::GeoDistance [-] [+] - [src]

+ [src]
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::operations::search::ScanIterator [-] [+] - [src]

+ [src]
pub struct ScanIterator<'a> {
     // some fields omitted
 }

Trait Implementations

impl<'a> Drop for ScanIterator<'a>

fn drop(&mut self)

@@ -65,12 +65,12 @@

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

fn any<F>(&mut self, f: F) -> bool where F: FnMut(Self::Item) -> bool

@@ -80,10 +80,10 @@

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

fn reverse_in_place<'a, T>(&mut self) where Self: Iterator<Item=&'a mut T> + DoubleEndedIterator, T: 'a

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 @@

Struct rs_es::operations::search::ScanResult [-] [+] - [src]

+ [src]
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::operations::search::Script [-] [+] - [src]

+ [src]
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::operations::search::SearchHitsHitsResult [-] [+] - [src]

+ [src]
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::operations::search::SearchHitsResult [-] [+] - [src]

+ [src]
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 @@
     

Struct rs_es::operations::search::SearchQueryOperation [-] [+] - [src]

+ [src]
pub struct SearchQueryOperation<'a, 'b> {
     // some fields omitted
 }

Methods

impl<'a, 'b> SearchQueryOperation<'a, 'b>

fn new(client: &'a mut Client) -> SearchQueryOperation<'a, 'b>

@@ -58,9 +58,9 @@

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>

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::operations::search::SearchResult [-] [+] - [src]

+ [src]
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::operations::search::SearchURIOperation [-] [+] - [src]

+ [src]
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>

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.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 @@

Struct rs_es::operations::search::Sort [-] [+] - [src]

+ [src]
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

fn to_string(&self) -> String

-

impl ToJson for Sort

fn to_json(&self) -> Json

+

Trait Implementations

impl ToJson for Sort

fn to_json(&self) -> Json

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::operations::search::SortField [-] [+] - [src]

+ [src]
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 given field and order

+

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

fn with_missing<T: Into<Missing>>(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 @@

Struct rs_es::operations::RefreshOperation [-] [+] - [src]

+ [src]
pub struct RefreshOperation<'a, 'b> {
     // some fields omitted
 }

Methods

impl<'a, 'b> RefreshOperation<'a, 'b>

fn new(client: &'a mut Client) -> RefreshOperation

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 @@

Struct rs_es::operations::RefreshResult [-] [+] - [src]

+ [src]
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::operations::ShardCountResult [-] [+] - [src]

+ [src]
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::query::BoostMode [-] [+] - [src]

+ [src]
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::query::Execution [-] [+] - [src]

+ [src]
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::query::Filter [-] [+] - [src]

+ [src]
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::query::Flag [-] [+] - [src]

+ [src]
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::query::Func [-] [+] - [src]

+ [src]
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::query::Fuzziness [-] [+] - [src]

+ [src]
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::query::GeoBox [-] [+] - [src]

+ [src]
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::query::MatchQueryType [-] [+] - [src]

+ [src]
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::query::MatchType [-] [+] - [src]

+ [src]
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::query::MinimumShouldMatch [-] [+] - [src]

+ [src]
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::query::Modifier [-] [+] - [src]

+ [src]
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::query::MultiValueMode [-] [+] - [src]

+ [src]
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::query::NoMatchFilter [-] [+] - [src]

+ [src]
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::query::OptimizeBbox [-] [+] - [src]

+ [src]
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::query::Precision [-] [+] - [src]

+ [src]
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::query::Query [-] [+] - [src]

+ [src]
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::query::Rewrite [-] [+] - [src]

+ [src]
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::query::ScoreMode [-] [+] - [src]

+ [src]
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::query::Strategy [-] [+] - [src]

+ [src]
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::query::ZeroTermsQuery [-] [+] - [src]

+ [src]
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::query [-] [+] - [src]

+ [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.rb

Structs

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::query::AndFilter [-] [+] - [src]

+ [src]
pub struct AndFilter {
     // some fields omitted
 }

Methods

impl AndFilter

fn with_filters<T: Into<Vec<Filter>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::BoolFilter [-] [+] - [src]

+ [src]
pub struct BoolFilter {
     // some fields omitted
 }

Methods

impl BoolFilter

fn with_must<T: Into<Vec<Filter>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::BoolQuery [-] [+] - [src]

+ [src]
pub struct BoolQuery {
     // some fields omitted
 }

Methods

impl BoolQuery

fn with_must<T: Into<Vec<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::BoostingQuery [-] [+] - [src]

+ [src]
pub struct BoostingQuery {
     // some fields omitted
 }

Methods

impl BoostingQuery

fn with_positive<T: Into<Box<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::CombinationMinimumShouldMatch [-] [+] - [src]

+ [src]
pub struct CombinationMinimumShouldMatch {
     // some fields omitted
 }

Methods

impl CombinationMinimumShouldMatch

fn new<A, B>(first: A, second: B) -> CombinationMinimumShouldMatch where A: Into<MinimumShouldMatch>, B: Into<MinimumShouldMatch>

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 @@

Struct rs_es::query::CommonQuery [-] [+] - [src]

+ [src]
pub struct CommonQuery {
     // some fields omitted
 }

Methods

impl CommonQuery

fn with_cutoff_frequency<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::ConstantScoreQuery [-] [+] - [src]

+ [src]
pub struct ConstantScoreQuery {
     // some fields omitted
 }

Methods

impl ConstantScoreQuery

fn with_filter<T: Into<Box<Filter>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::DisMaxQuery [-] [+] - [src]

+ [src]
pub struct DisMaxQuery {
     // some fields omitted
 }

Methods

impl DisMaxQuery

fn with_tie_breaker<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::Distance [-] [+] - [src]

+ [src]
pub struct Distance {
     // some fields omitted
 }

Methods

impl Distance

fn new(amt: f64, unit: DistanceUnit) -> 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 @@

Struct rs_es::query::Doc [-] [+] - [src]

+ [src]
pub struct Doc {
     // some fields omitted
 }

Methods

impl Doc

fn from_doc<A, B>(index: A, doc_type: B, doc: Json) -> Doc where A: Into<String>, B: Into<String>

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 @@

Struct rs_es::query::ExistsFilter [-] [+] - [src]

+ [src]
pub struct ExistsFilter {
     // some fields omitted
 }

Methods

impl ExistsFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::ExpFunc [-] [+] - [src]

+ [src]
pub struct ExpFunc {
     // some fields omitted
 }

Methods

impl ExpFunc

fn with_scale<T: Into<Scale>>(self, value: T) -> Self

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 @@

Struct rs_es::query::FieldValueFactorFunc [-] [+] - [src]

+ [src]
pub struct FieldValueFactorFunc {
     // some fields omitted
 }

Methods

impl FieldValueFactorFunc

fn with_factor<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::FilteredQuery [-] [+] - [src]

+ [src]
pub struct FilteredQuery {
     // some fields omitted
 }

Methods

impl FilteredQuery

fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::Flags [-] [+] - [src]

+ [src]
pub struct Flags {
     // some fields omitted
 }

Methods

impl Flags

fn new() -> 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 @@

Struct rs_es::query::Function [-] [+] - [src]

+ [src]
pub struct Function {
     // some fields omitted
 }

Methods

impl Function

fn new(function: Func) -> 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 @@

Struct rs_es::query::FunctionScoreQuery [-] [+] - [src]

+ [src]
pub struct FunctionScoreQuery {
     // some fields omitted
 }

Methods

impl FunctionScoreQuery

fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::FuzzyLikeThisFieldQuery [-] [+] - [src]

+ [src]
pub struct FuzzyLikeThisFieldQuery {
     // some fields omitted
 }

Methods

impl FuzzyLikeThisFieldQuery

fn with_ignore_tf<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::FuzzyLikeThisQuery [-] [+] - [src]

+ [src]
pub struct FuzzyLikeThisQuery {
     // some fields omitted
 }

Methods

impl FuzzyLikeThisQuery

fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::FuzzyQuery [-] [+] - [src]

+ [src]
pub struct FuzzyQuery {
     // some fields omitted
 }

Methods

impl FuzzyQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GaussFunc [-] [+] - [src]

+ [src]
pub struct GaussFunc {
     // some fields omitted
 }

Methods

impl GaussFunc

fn with_scale<T: Into<Scale>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeoBoundingBoxFilter [-] [+] - [src]

+ [src]
pub struct GeoBoundingBoxFilter {
     // some fields omitted
 }

Methods

impl GeoBoundingBoxFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeoDistanceFilter [-] [+] - [src]

+ [src]
pub struct GeoDistanceFilter {
     // some fields omitted
 }

Methods

impl GeoDistanceFilter

fn with_distance_type<T: Into<DistanceType>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeoPolygonFilter [-] [+] - [src]

+ [src]
pub struct GeoPolygonFilter {
     // some fields omitted
 }

Methods

impl GeoPolygonFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeoShapeFilter [-] [+] - [src]

+ [src]
pub struct GeoShapeFilter {
     // some fields omitted
 }

Methods

impl GeoShapeFilter

fn with_shape<T: Into<Shape>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeoShapeQuery [-] [+] - [src]

+ [src]
pub struct GeoShapeQuery {
     // some fields omitted
 }

Methods

impl GeoShapeQuery

fn with_shape<T: Into<Shape>>(self, value: T) -> Self

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 @@

Struct rs_es::query::GeohashCellFilter [-] [+] - [src]

+ [src]
pub struct GeohashCellFilter {
     // some fields omitted
 }

Methods

impl GeohashCellFilter

fn with_precision<T: Into<Precision>>(self, value: T) -> Self

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 @@

Struct rs_es::query::HasChildFilter [-] [+] - [src]

+ [src]
pub struct HasChildFilter {
     // some fields omitted
 }

Methods

impl HasChildFilter

fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::HasChildQuery [-] [+] - [src]

+ [src]
pub struct HasChildQuery {
     // some fields omitted
 }

Methods

impl HasChildQuery

fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self

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 @@

Struct rs_es::query::HasParentFilter [-] [+] - [src]

+ [src]
pub struct HasParentFilter {
     // some fields omitted
 }

Methods

impl HasParentFilter

fn with_query<T: Into<Box<Query>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::HasParentQuery [-] [+] - [src]

+ [src]
pub struct HasParentQuery {
     // some fields omitted
 }

Methods

impl HasParentQuery

fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self

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 @@

Struct rs_es::query::IdsFilter [-] [+] - [src]

+ [src]
pub struct IdsFilter {
     // some fields omitted
 }

Methods

impl IdsFilter

fn with_type<T: Into<OneOrMany<String>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::IdsQuery [-] [+] - [src]

+ [src]
pub struct IdsQuery {
     // some fields omitted
 }

Methods

impl IdsQuery

fn with_type<T: Into<OneOrMany<String>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::IndexedShape [-] [+] - [src]

+ [src]
pub struct IndexedShape {
     // some fields omitted
 }

Methods

impl IndexedShape

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>

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 @@

Struct rs_es::query::IndicesFilter [-] [+] - [src]

+ [src]
pub struct IndicesFilter {
     // some fields omitted
 }

Methods

impl IndicesFilter

fn with_index<T: Into<String>>(self, value: T) -> Self

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 @@

Struct rs_es::query::IndicesQuery [-] [+] - [src]

+ [src]
pub struct IndicesQuery {
     // some fields omitted
 }

Methods

impl IndicesQuery

fn with_index<T: Into<String>>(self, value: T) -> Self

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 @@

Struct rs_es::query::LinearFunc [-] [+] - [src]

+ [src]
pub struct LinearFunc {
     // some fields omitted
 }

Methods

impl LinearFunc

fn with_scale<T: Into<Scale>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MatchAllFilter [-] [+] - [src]

+ [src]
pub struct MatchAllFilter {
     // some fields omitted
 }

Methods

impl MatchAllFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MatchAllQuery [-] [+] - [src]

+ [src]
pub struct MatchAllQuery {
     // some fields omitted
 }

Methods

impl MatchAllQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MatchQuery [-] [+] - [src]

+ [src]
pub struct MatchQuery {
     // some fields omitted
 }

Methods

impl MatchQuery

fn with_type<T: Into<MatchType>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MissingFilter [-] [+] - [src]

+ [src]
pub struct MissingFilter {
     // some fields omitted
 }

Methods

impl MissingFilter

fn with_existence<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MoreLikeThisQuery [-] [+] - [src]

+ [src]
pub struct MoreLikeThisQuery {
     // some fields omitted
 }

Methods

impl MoreLikeThisQuery

fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::MultiMatchQuery [-] [+] - [src]

+ [src]
pub struct MultiMatchQuery {
     // some fields omitted
 }

Methods

impl MultiMatchQuery

fn with_use_dis_max<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::NestedFilter [-] [+] - [src]

+ [src]
pub struct NestedFilter {
     // some fields omitted
 }

Methods

impl NestedFilter

fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self

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 @@

Struct rs_es::query::NestedQuery [-] [+] - [src]

+ [src]
pub struct NestedQuery {
     // some fields omitted
 }

Methods

impl NestedQuery

fn with_score_mode<T: Into<ScoreMode>>(self, value: T) -> Self

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 @@

Struct rs_es::query::NotFilter [-] [+] - [src]

+ [src]
pub struct NotFilter {
     // some fields omitted
 }

Methods

impl NotFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::OrFilter [-] [+] - [src]

+ [src]
pub struct OrFilter {
     // some fields omitted
 }

Methods

impl OrFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::PrefixFilter [-] [+] - [src]

+ [src]
pub struct PrefixFilter {
     // some fields omitted
 }

Methods

impl PrefixFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::PrefixQuery [-] [+] - [src]

+ [src]
pub struct PrefixQuery {
     // some fields omitted
 }

Methods

impl PrefixQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::QueryFilter [-] [+] - [src]

+ [src]
pub struct QueryFilter {
     // some fields omitted
 }

Methods

impl QueryFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::QueryStringQuery [-] [+] - [src]

+ [src]
pub struct QueryStringQuery {
     // some fields omitted
 }

Methods

impl QueryStringQuery

fn with_default_field<T: Into<String>>(self, value: T) -> Self

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 @@

Struct rs_es::query::RandomScoreFunc [-] [+] - [src]

+ [src]
pub struct RandomScoreFunc {
     // some fields omitted
 }

Methods

impl RandomScoreFunc

fn build(self) -> Func

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 @@

Struct rs_es::query::RangeFilter [-] [+] - [src]

+ [src]
pub struct RangeFilter {
     // some fields omitted
 }

Methods

impl RangeFilter

fn with_gte<T: Into<JsonVal>>(self, value: T) -> Self

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 @@

Struct rs_es::query::RangeQuery [-] [+] - [src]

+ [src]
pub struct RangeQuery {
     // some fields omitted
 }

Methods

impl RangeQuery

fn with_gte<T: Into<JsonVal>>(self, value: T) -> Self

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 @@

Struct rs_es::query::RegexpFilter [-] [+] - [src]

+ [src]
pub struct RegexpFilter {
     // some fields omitted
 }

Methods

impl RegexpFilter

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::RegexpQuery [-] [+] - [src]

+ [src]
pub struct RegexpQuery {
     // some fields omitted
 }

Methods

impl RegexpQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::ScriptFilter [-] [+] - [src]

+ [src]
pub struct ScriptFilter {
     // some fields omitted
 }

Methods

impl ScriptFilter

fn with_params<T: Into<BTreeMap<String, JsonVal>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::ScriptScoreFunc [-] [+] - [src]

+ [src]
pub struct ScriptScoreFunc {
     // some fields omitted
 }

Methods

impl ScriptScoreFunc

fn with_lang<T: Into<String>>(self, value: T) -> Self

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 @@

Struct rs_es::query::Shape [-] [+] - [src]

+ [src]
pub struct Shape {
     // some fields omitted
 }

Methods

impl Shape

fn new<A: Into<String>>(shape_type: A, coordinates: Vec<(f64, f64)>) -> 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 @@

Struct rs_es::query::SimpleQueryStringQuery [-] [+] - [src]

+ [src]
pub struct SimpleQueryStringQuery {
     // some fields omitted
 }

Methods

impl SimpleQueryStringQuery

fn with_fields<T: Into<Vec<String>>>(self, value: T) -> Self

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 @@

Struct rs_es::query::SpanFirstQuery [-] [+] - [src]

+ [src]
pub struct SpanFirstQuery {
     // some fields omitted
 }

Methods

impl SpanFirstQuery

fn build(self) -> Query

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 @@

Struct rs_es::query::SpanMultiQuery [-] [+] - [src]

+ [src]
pub struct SpanMultiQuery {
     // some fields omitted
 }

Methods

impl SpanMultiQuery

fn build(self) -> Query

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 @@

Struct rs_es::query::SpanNearQuery [-] [+] - [src]

+ [src]
pub struct SpanNearQuery {
     // some fields omitted
 }

Methods

impl SpanNearQuery

fn with_in_order<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::SpanNotQuery [-] [+] - [src]

+ [src]
pub struct SpanNotQuery {
     // some fields omitted
 }

Methods

impl SpanNotQuery

fn with_pre<T: Into<i64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::SpanOrQuery [-] [+] - [src]

+ [src]
pub struct SpanOrQuery {
     // some fields omitted
 }

Methods

impl SpanOrQuery

fn build(self) -> Query

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 @@

Struct rs_es::query::SpanTermQuery [-] [+] - [src]

+ [src]
pub struct SpanTermQuery {
     // some fields omitted
 }

Methods

impl SpanTermQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::TermFilter [-] [+] - [src]

+ [src]
pub struct TermFilter {
     // some fields omitted
 }

Methods

impl TermFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::TermQuery [-] [+] - [src]

+ [src]
pub struct TermQuery {
     // some fields omitted
 }

Methods

impl TermQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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 @@

Struct rs_es::query::TermsFilter [-] [+] - [src]

+ [src]
pub struct TermsFilter {
     // some fields omitted
 }

Methods

impl TermsFilter

fn with_execution<T: Into<Execution>>(self, value: T) -> Self

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 @@

Struct rs_es::query::TermsQuery [-] [+] - [src]

+ [src]
pub struct TermsQuery {
     // some fields omitted
 }

Methods

impl TermsQuery

fn with_minimum_should_match<T: Into<MinimumShouldMatch>>(self, value: T) -> Self

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 @@

Struct rs_es::query::TypeFilter [-] [+] - [src]

+ [src]
pub struct TypeFilter {
     // some fields omitted
 }

Methods

impl TypeFilter

fn with_cache<T: Into<bool>>(self, value: T) -> Self

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 @@

Struct rs_es::query::WildcardQuery [-] [+] - [src]

+ [src]
pub struct WildcardQuery {
     // some fields omitted
 }

Methods

impl WildcardQuery

fn with_boost<T: Into<f64>>(self, value: T) -> Self

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):
- stable (6%),
+ stable (7%),
unstable (0%),
deprecated (0%),
- unmarked (93%) + unmarked (92%)
The counts do not include methods or trait -implementations that are visible only through a re-exported type.
SearchURIOperation

Representing a search-by-uri option

+
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].

+
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    
+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::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    
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 @@

Struct rs_es::Client [-] [+] - [src]

+ [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::DistanceType [-] [+] - [src]

+ [src]
pub enum DistanceType {
     SloppyArc,
     Arc,
diff --git a/rs-es/rs_es/units/enum.DistanceUnit.html b/rs-es/rs_es/units/enum.DistanceUnit.html
index d155c8d..ce0b78a 100644
--- a/rs-es/rs_es/units/enum.DistanceUnit.html
+++ b/rs-es/rs_es/units/enum.DistanceUnit.html
@@ -43,7 +43,7 @@
     

Enum rs_es::units::DistanceUnit [-] [+] - [src]

+ [src]
pub enum DistanceUnit {
     Mile,
     Yard,
diff --git a/rs-es/rs_es/units/enum.DurationUnit.html b/rs-es/rs_es/units/enum.DurationUnit.html
index 4c93883..c3ccce2 100644
--- a/rs-es/rs_es/units/enum.DurationUnit.html
+++ b/rs-es/rs_es/units/enum.DurationUnit.html
@@ -43,7 +43,7 @@
     

Enum rs_es::units::DurationUnit [-] [+] - [src]

+ [src]
pub enum DurationUnit {
     Week,
     Day,
diff --git a/rs-es/rs_es/units/enum.JsonVal.html b/rs-es/rs_es/units/enum.JsonVal.html
index ac18b00..3e9877e 100644
--- a/rs-es/rs_es/units/enum.JsonVal.html
+++ b/rs-es/rs_es/units/enum.JsonVal.html
@@ -43,7 +43,7 @@
     

Enum rs_es::units::JsonVal [-] [+] - [src]

+ [src]
pub enum JsonVal {
     String(String),
     I64(i64),
diff --git a/rs-es/rs_es/units/enum.Location.html b/rs-es/rs_es/units/enum.Location.html
index 922c003..faed8dc 100644
--- a/rs-es/rs_es/units/enum.Location.html
+++ b/rs-es/rs_es/units/enum.Location.html
@@ -43,7 +43,7 @@
     

Enum rs_es::units::Location [-] [+] - [src]

+ [src]
pub enum Location {
     LatLon(f64, f64),
     GeoHash(String),
diff --git a/rs-es/rs_es/units/enum.OneOrMany.html b/rs-es/rs_es/units/enum.OneOrMany.html
index 7c6fa6e..5714e55 100644
--- a/rs-es/rs_es/units/enum.OneOrMany.html
+++ b/rs-es/rs_es/units/enum.OneOrMany.html
@@ -43,7 +43,7 @@
     

Enum rs_es::units::OneOrMany [-] [+] - [src]

+ [src]
pub enum OneOrMany<T: ToJson> {
     One(T),
     Many(Vec<T>),
diff --git a/rs-es/rs_es/units/index.html b/rs-es/rs_es/units/index.html
index 188d2ea..22be632 100644
--- a/rs-es/rs_es/units/index.html
+++ b/rs-es/rs_es/units/index.html
@@ -43,7 +43,7 @@
     

Module rs_es::units [-] [+] - [src]

+ [src]

Various re-occuring types that are used by the ElasticSearch API.

E.g. Duration

diff --git a/rs-es/rs_es/units/struct.Duration.html b/rs-es/rs_es/units/struct.Duration.html index 17fa8ae..2d09039 100644 --- a/rs-es/rs_es/units/struct.Duration.html +++ b/rs-es/rs_es/units/struct.Duration.html @@ -43,7 +43,7 @@

Struct rs_es::units::Duration [-] [+] - [src]

+ [src]
pub struct Duration {
     // some fields omitted
 }

A time-period unit, will be formatted into the ElasticSearch standard format

diff --git a/rs-es/search-index.js b/rs-es/search-index.js index ee1d1d4..141f463 100644 --- a/rs-es/search-index.js +++ b/rs-es/search-index.js @@ -1,3 +1,3 @@ var searchIndex = {}; -searchIndex['rs_es'] = {"items":[[0,"","rs_es","A client for ElasticSearch's REST API",null,null],[3,"Client","","The core of the ElasticSearch client, owns a HTTP connection.",null,null],[5,"do_req","","Process the result of an HTTP request, returning the status code and the\n`Json` result (if the result had a body) or an `EsError` if there were any\nerrors",null,{"inputs":[{"name":"response"}],"output":{"name":"result"}}],[0,"util","","Miscellaneous code used in numerous places",null,null],[8,"StrJoin","rs_es::util","A custom String-join trait as the stdlib one is currently marked as unstable.",null,null],[10,"join","","Join an iterator of things that can be referenced as strings into a\nsingle owned-string by the given joining string",0,{"inputs":[{"name":"strjoin"},{"name":"str"}],"output":{"name":"string"}}],[0,"error","rs_es","Errors and error conversion code for the `rs_es` crate",null,null],[4,"EsError","rs_es::error","Error that can occur include IO and parsing errors, as well as specific\nerrors from the ElasticSearch server and logic errors from this library",null,null],[13,"EsError","","An internal error from this library",1,null],[13,"EsServerError","","An error reported in a JSON response from the ElasticSearch server",1,null],[13,"HttpError","","Miscellaneous error from the HTTP library",1,null],[13,"IoError","","Miscellaneous IO error",1,null],[13,"JsonDecoderError","","Miscellaneous JSON decoding error",1,null],[13,"JsonEncoderError","","Miscellaneous JSON encoding error",1,null],[13,"JsonBuilderError","","Miscllenaeous JSON building error",1,null],[11,"fmt","","",1,{"inputs":[{"name":"eserror"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"error"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"error"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"decodererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"encodererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"buildererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"response"}],"output":{"name":"eserror"}}],[11,"description","","",1,{"inputs":[{"name":"eserror"}],"output":{"name":"str"}}],[11,"cause","","",1,{"inputs":[{"name":"eserror"}],"output":{"name":"option"}}],[11,"fmt","","",1,{"inputs":[{"name":"eserror"},{"name":"formatter"}],"output":{"name":"result"}}],[0,"operations","rs_es","Implementations of specific ElasticSearch operations",null,null],[3,"RefreshOperation","rs_es::operations","",null,null],[3,"ShardCountResult","","Shared struct for operations that include counts of success/failed shards.\nThis is returned within various other result structs.",null,null],[12,"total","","",2,null],[12,"successful","","",2,null],[12,"failed","","",2,null],[3,"RefreshResult","","Result of a refresh request",null,null],[12,"shards","","",3,null],[0,"bulk","","Implementation of the Bulk API",null,null],[3,"ActionSource","rs_es::operations::bulk","",null,null],[3,"Action","","A bulk operation consists of one or more `Action`s.",null,null],[3,"BulkOperation","","",null,null],[3,"ActionResult","","The result of specific actions",null,null],[12,"action","","",4,null],[12,"index","","",4,null],[12,"doc_type","","",4,null],[12,"version","","",4,null],[12,"status","","",4,null],[3,"BulkResult","","The result of a bulk operation",null,null],[12,"errors","","",5,null],[12,"items","","",5,null],[12,"took","","",5,null],[4,"ActionType","","",null,null],[13,"Index","","",6,null],[13,"Create","","",6,null],[13,"Delete","","",6,null],[13,"Update","","",6,null],[11,"new","","",7,{"inputs":[{"name":"actionsource"}],"output":{"name":"actionsource"}}],[11,"with_doc","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_upsert","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_doc_as_upsert","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_script","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_params","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lang","","",7,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"to_json","","",7,{"inputs":[{"name":"actionsource"}],"output":{"name":"json"}}],[11,"from","","",6,{"inputs":[{"name":"actiontype"},{"name":"string"}],"output":{"name":"actiontype"}}],[11,"to_string","","",6,{"inputs":[{"name":"actiontype"}],"output":{"name":"string"}}],[11,"index","","An index action.",8,{"inputs":[{"name":"action"},{"name":"e"}],"output":{"name":"action"}}],[11,"create","","Create action",8,{"inputs":[{"name":"action"},{"name":"e"}],"output":{"name":"action"}}],[11,"delete","","",8,{"inputs":[{"name":"action"},{"name":"s"}],"output":{"name":"action"}}],[11,"update","","",8,{"inputs":[{"name":"action"},{"name":"s"},{"name":"actionsource"}],"output":{"name":"action"}}],[11,"with_index","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_doc_type","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_id","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version_type","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timestamp","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ttl","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_retry_on_conflict","","",8,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"to_json","","",8,{"inputs":[{"name":"action"}],"output":{"name":"json"}}],[11,"new","","",9,null],[11,"with_index","","",9,{"inputs":[{"name":"bulkoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_doc_type","","",9,{"inputs":[{"name":"bulkoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_consistency","","",9,{"inputs":[{"name":"bulkoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",9,{"inputs":[{"name":"bulkoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",9,{"inputs":[{"name":"bulkoperation"}],"output":{"name":"result"}}],[11,"from","","",4,{"inputs":[{"name":"actionresult"},{"name":"json"}],"output":{"name":"actionresult"}}],[11,"from","","",5,{"inputs":[{"name":"bulkresult"},{"name":"json"}],"output":{"name":"bulkresult"}}],[0,"delete","rs_es::operations","Implementation of delete operations, both Delete-By-Query and Delete-By-Id",null,null],[3,"DeleteOperation","rs_es::operations::delete","",null,null],[3,"DeleteByQueryOperation","","",null,null],[3,"DeleteResult","","Result of a DELETE operation",null,null],[12,"found","","",10,null],[12,"index","","",10,null],[12,"doc_type","","",10,null],[12,"id","","",10,null],[12,"version","","",10,null],[3,"DeleteByQueryIndexResult","","",null,null],[12,"shards","","",11,null],[3,"DeleteByQueryResult","","The result of a Delete-by-query request",null,null],[12,"indices","","",12,null],[11,"new","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"client"},{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"deleteoperation"}}],[11,"with_version","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_consistency","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",13,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",13,{"inputs":[{"name":"deleteoperation"}],"output":{"name":"result"}}],[11,"new","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"client"}],"output":{"name":"deletebyqueryoperation"}}],[11,"with_indexes","","",14,null],[11,"with_doc_types","","",14,null],[11,"with_query_string","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"string"}],"output":{"name":"self"}}],[11,"with_query","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"query"}],"output":{"name":"self"}}],[11,"with_df","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_consistency","","",14,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",14,{"inputs":[{"name":"deletebyqueryoperation"}],"output":{"name":"result"}}],[11,"fmt","","",10,{"inputs":[{"name":"deleteresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",10,{"inputs":[{"name":"deleteresult"},{"name":"json"}],"output":{"name":"deleteresult"}}],[11,"fmt","","",11,{"inputs":[{"name":"deletebyqueryindexresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",11,{"inputs":[{"name":"deletebyqueryindexresult"},{"name":"json"}],"output":{"name":"deletebyqueryindexresult"}}],[11,"fmt","","",12,{"inputs":[{"name":"deletebyqueryresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"successful","","",12,{"inputs":[{"name":"deletebyqueryresult"}],"output":{"name":"bool"}}],[11,"from","","",12,{"inputs":[{"name":"deletebyqueryresult"},{"name":"json"}],"output":{"name":"deletebyqueryresult"}}],[0,"get","rs_es::operations","Implementation of the Get API",null,null],[3,"GetOperation","rs_es::operations::get","An ES GET operation, to get a document by ID",null,null],[3,"GetResult","","The result of a GET request",null,null],[12,"index","","",15,null],[12,"doc_type","","",15,null],[12,"id","","",15,null],[12,"version","","",15,null],[12,"found","","",15,null],[12,"source","","",15,null],[11,"new","","",16,{"inputs":[{"name":"getoperation"},{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"getoperation"}}],[11,"with_all_types","","",16,{"inputs":[{"name":"getoperation"}],"output":{"name":"self"}}],[11,"with_doc_type","","",16,{"inputs":[{"name":"getoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_fields","","",16,null],[11,"with_realtime","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_source","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_preference","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",16,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",16,{"inputs":[{"name":"getoperation"}],"output":{"name":"result"}}],[11,"fmt","","",15,{"inputs":[{"name":"getresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"source","","The result is a JSON document, this function will attempt to decode it\nto a struct. If the raw JSON is required, it can accessed directly from\nthe source field of the `GetResult` struct.",15,{"inputs":[{"name":"getresult"}],"output":{"name":"result"}}],[11,"from","","",15,{"inputs":[{"name":"getresult"},{"name":"json"}],"output":{"name":"getresult"}}],[0,"index","rs_es::operations","Implementation of ElasticSearch Index operation",null,null],[3,"IndexOperation","rs_es::operations::index","An indexing operation",null,null],[3,"IndexResult","","The result of an index operation",null,null],[12,"index","","",17,null],[12,"doc_type","","",17,null],[12,"id","","",17,null],[12,"version","","",17,null],[12,"created","","",17,null],[4,"OpType","","Values for the op_type option",null,null],[13,"Create","","",18,null],[11,"to_string","","",18,{"inputs":[{"name":"optype"}],"output":{"name":"string"}}],[11,"new","","",19,{"inputs":[{"name":"indexoperation"},{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"indexoperation"}}],[11,"with_doc","","",19,{"inputs":[{"name":"indexoperation"},{"name":"e"}],"output":{"name":"self"}}],[11,"with_id","","",19,{"inputs":[{"name":"indexoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_ttl","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version_type","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_op_type","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timestamp","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",19,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",19,{"inputs":[{"name":"indexoperation"}],"output":{"name":"result"}}],[11,"fmt","","",17,{"inputs":[{"name":"indexresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",17,{"inputs":[{"name":"indexresult"},{"name":"json"}],"output":{"name":"indexresult"}}],[0,"search","rs_es::operations","Implementations of both Search-by-URI and Search-by-Query operations",null,null],[3,"SearchURIOperation","rs_es::operations::search","",null,null],[3,"SortField","","Representing sort options for a specific field, can be combined with others\nto produce the full sort clause",null,null],[3,"GeoDistance","","Representing sort options for sort by geodistance",null,null],[3,"Script","","Representing options for sort by script",null,null],[3,"Sort","","A full sort clause",null,null],[3,"SearchQueryOperation","","",null,null],[3,"SearchHitsHitsResult","","",null,null],[12,"index","","",20,null],[12,"doc_type","","",20,null],[12,"id","","",20,null],[12,"score","","",20,null],[12,"source","","",20,null],[12,"fields","","",20,null],[3,"SearchHitsResult","","",null,null],[12,"total","","",21,null],[12,"hits","","",21,null],[3,"SearchResult","","",null,null],[12,"took","","",22,null],[12,"timed_out","","",22,null],[12,"shards","","",22,null],[12,"hits","","",22,null],[3,"ScanIterator","","",null,null],[3,"ScanResult","","",null,null],[12,"took","","",23,null],[12,"timed_out","","",23,null],[12,"shards","","",23,null],[12,"hits","","",23,null],[4,"SearchType","","Options for the various search_type parameters",null,null],[13,"DFSQueryThenFetch","","",24,null],[13,"DFSQueryAndFetch","","",24,null],[13,"QueryThenFetch","","",24,null],[13,"QueryAndFetch","","",24,null],[4,"Order","","Order of a sort",null,null],[13,"Asc","","",25,null],[13,"Desc","","",25,null],[4,"Mode","","",null,null],[13,"Min","","",26,null],[13,"Max","","",26,null],[13,"Sum","","",26,null],[13,"Avg","","",26,null],[4,"Missing","","",null,null],[13,"First","","",27,null],[13,"Last","","",27,null],[13,"Custom","","",27,null],[4,"SortBy","","",null,null],[13,"Field","","",28,null],[13,"Distance","","",28,null],[13,"Script","","",28,null],[11,"to_string","","",24,{"inputs":[{"name":"searchtype"}],"output":{"name":"string"}}],[11,"to_string","","",25,{"inputs":[{"name":"order"}],"output":{"name":"string"}}],[11,"to_json","","",25,{"inputs":[{"name":"order"}],"output":{"name":"json"}}],[11,"to_json","","",26,{"inputs":[{"name":"mode"}],"output":{"name":"json"}}],[11,"to_json","","",27,{"inputs":[{"name":"missing"}],"output":{"name":"json"}}],[11,"from","","",27,{"inputs":[{"name":"missing"},{"name":"s"}],"output":{"name":"missing"}}],[11,"new","","",29,{"inputs":[{"name":"sortfield"},{"name":"s"},{"name":"option"}],"output":{"name":"sortfield"}}],[11,"with_mode","","",29,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_nested_path","","",29,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_nested_filter","","",29,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_missing","","",29,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_unmapped_type","","",29,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",29,{"inputs":[{"name":"sortfield"}],"output":{"name":"sortby"}}],[11,"to_string","","",29,{"inputs":[{"name":"sortfield"}],"output":{"name":"string"}}],[11,"to_json","","",29,{"inputs":[{"name":"sortfield"}],"output":{"name":"json"}}],[11,"new","","",30,{"inputs":[{"name":"geodistance"},{"name":"s"}],"output":{"name":"geodistance"}}],[11,"with_location","","",30,{"inputs":[{"name":"geodistance"},{"name":"l"}],"output":{"name":"self"}}],[11,"with_locations","","",30,{"inputs":[{"name":"geodistance"},{"name":"vec"}],"output":{"name":"self"}}],[11,"with_order","","",30,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_unit","","",30,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_mode","","",30,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_distance_type","","",30,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",30,{"inputs":[{"name":"geodistance"}],"output":{"name":"sortby"}}],[11,"to_json","","",30,{"inputs":[{"name":"geodistance"}],"output":{"name":"json"}}],[11,"new","","",31,{"inputs":[{"name":"script"},{"name":"s"},{"name":"st"}],"output":{"name":"script"}}],[11,"with_order","","",31,{"inputs":[{"name":"script"},{"name":"t"}],"output":{"name":"self"}}],[11,"add_param","","",31,{"inputs":[{"name":"script"},{"name":"k"},{"name":"v"}],"output":{"name":"self"}}],[11,"build","","",31,{"inputs":[{"name":"script"}],"output":{"name":"sortby"}}],[11,"to_json","","",31,{"inputs":[{"name":"script"}],"output":{"name":"json"}}],[11,"to_string","","",28,{"inputs":[{"name":"sortby"}],"output":{"name":"string"}}],[11,"to_json","","",28,{"inputs":[{"name":"sortby"}],"output":{"name":"json"}}],[11,"new","","",32,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"field","","Convenience function for a single field default",32,{"inputs":[{"name":"sort"},{"name":"s"}],"output":{"name":"sort"}}],[11,"field_order","","",32,{"inputs":[{"name":"sort"},{"name":"s"},{"name":"order"}],"output":{"name":"sort"}}],[11,"fields","","",32,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"field_orders","","",32,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"to_string","","",32,{"inputs":[{"name":"sort"}],"output":{"name":"string"}}],[11,"to_json","","",32,{"inputs":[{"name":"sort"}],"output":{"name":"json"}}],[11,"new","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"client"}],"output":{"name":"searchurioperation"}}],[11,"with_indexes","","",33,null],[11,"with_types","","",33,null],[11,"with_query","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"s"}],"output":{"name":"self"}}],[11,"with_df","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyze_wildcard","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_explain","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_source","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_sort","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_track_scores","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_terminate_after","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_from","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_size","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_search_type","","",33,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fields","","",33,null],[11,"send","","",33,{"inputs":[{"name":"searchurioperation"}],"output":{"name":"result"}}],[11,"new","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"client"}],"output":{"name":"searchqueryoperation"}}],[11,"with_indexes","","",34,null],[11,"with_types","","",34,null],[11,"with_query","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"query"}],"output":{"name":"self"}}],[11,"with_timeout","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_from","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_size","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_terminate_after","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_stats","","",34,null],[11,"with_min_score","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"f64"}],"output":{"name":"self"}}],[11,"with_sort","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"sort"}],"output":{"name":"self"}}],[11,"with_track_scores","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"bool"}],"output":{"name":"self"}}],[11,"with_routing","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_search_type","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_query_cache","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",34,{"inputs":[{"name":"searchqueryoperation"}],"output":{"name":"result"}}],[11,"scan","","",34,{"inputs":[{"name":"searchqueryoperation"},{"name":"duration"}],"output":{"name":"result"}}],[11,"fmt","","",20,{"inputs":[{"name":"searchhitshitsresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"source","","Get the source document as a struct, the raw JSON version is available\ndirectly from the source field",20,{"inputs":[{"name":"searchhitshitsresult"}],"output":{"name":"result"}}],[11,"from","","",20,{"inputs":[{"name":"searchhitshitsresult"},{"name":"json"}],"output":{"name":"searchhitshitsresult"}}],[11,"fmt","","",21,{"inputs":[{"name":"searchhitsresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"hits","","",21,{"inputs":[{"name":"searchhitsresult"}],"output":{"name":"result"}}],[11,"from","","",21,{"inputs":[{"name":"searchhitsresult"},{"name":"json"}],"output":{"name":"searchhitsresult"}}],[11,"from","","",22,{"inputs":[{"name":"searchresult"},{"name":"json"}],"output":{"name":"searchresult"}}],[11,"drop","","",35,{"inputs":[{"name":"scaniterator"}],"output":null}],[6,"Item","","",null,null],[11,"next","","",35,{"inputs":[{"name":"scaniterator"}],"output":{"name":"option"}}],[11,"iter","","",23,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"scaniterator"}}],[11,"scroll","","",23,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"result"}}],[11,"close","","",23,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"result"}}],[11,"new","rs_es::operations","",36,{"inputs":[{"name":"refreshoperation"},{"name":"client"}],"output":{"name":"refreshoperation"}}],[11,"with_indexes","","",36,null],[11,"send","","",36,{"inputs":[{"name":"refreshoperation"}],"output":{"name":"result"}}],[11,"decode","","",2,{"inputs":[{"name":"shardcountresult"},{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",2,{"inputs":[{"name":"shardcountresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",3,{"inputs":[{"name":"refreshresult"},{"name":"json"}],"output":{"name":"refreshresult"}}],[0,"query","rs_es","Implementation of the ElasticSearch Query DSL.",null,null],[3,"MatchAllQuery","rs_es::query","",null,null],[3,"MatchQuery","","",null,null],[3,"MultiMatchQuery","","",null,null],[3,"BoolQuery","","",null,null],[3,"BoostingQuery","","",null,null],[3,"CommonQuery","","",null,null],[3,"CombinationMinimumShouldMatch","","",null,null],[3,"ConstantScoreQuery","","",null,null],[3,"DisMaxQuery","","",null,null],[3,"FilteredQuery","","",null,null],[3,"FuzzyLikeThisQuery","","",null,null],[3,"FuzzyLikeThisFieldQuery","","",null,null],[3,"FunctionScoreQuery","","",null,null],[3,"FuzzyQuery","","",null,null],[3,"Shape","","",null,null],[3,"IndexedShape","","",null,null],[3,"GeoShapeQuery","","",null,null],[3,"HasChildQuery","","",null,null],[3,"HasParentQuery","","",null,null],[3,"IdsQuery","","",null,null],[3,"IndicesQuery","","",null,null],[3,"Doc","","",null,null],[3,"MoreLikeThisQuery","","",null,null],[3,"NestedQuery","","",null,null],[3,"PrefixQuery","","",null,null],[3,"QueryStringQuery","","",null,null],[3,"SimpleQueryStringQuery","","",null,null],[3,"RangeQuery","","",null,null],[3,"RegexpQuery","","",null,null],[3,"Flags","","",null,null],[3,"SpanFirstQuery","","",null,null],[3,"SpanMultiQuery","","",null,null],[3,"SpanNearQuery","","",null,null],[3,"SpanNotQuery","","",null,null],[3,"SpanOrQuery","","",null,null],[3,"SpanTermQuery","","",null,null],[3,"TermQuery","","",null,null],[3,"TermsQuery","","",null,null],[3,"WildcardQuery","","",null,null],[3,"AndFilter","","",null,null],[3,"BoolFilter","","",null,null],[3,"ExistsFilter","","",null,null],[3,"GeoBoundingBoxFilter","","",null,null],[3,"GeoDistanceFilter","","",null,null],[3,"Distance","","",null,null],[3,"GeoPolygonFilter","","",null,null],[3,"GeoShapeFilter","","",null,null],[3,"GeohashCellFilter","","",null,null],[3,"HasChildFilter","","",null,null],[3,"HasParentFilter","","",null,null],[3,"IdsFilter","","",null,null],[3,"IndicesFilter","","",null,null],[3,"MatchAllFilter","","",null,null],[3,"MissingFilter","","",null,null],[3,"NestedFilter","","",null,null],[3,"NotFilter","","",null,null],[3,"OrFilter","","",null,null],[3,"PrefixFilter","","",null,null],[3,"QueryFilter","","",null,null],[3,"RangeFilter","","",null,null],[3,"RegexpFilter","","",null,null],[3,"ScriptFilter","","",null,null],[3,"TermFilter","","",null,null],[3,"TermsFilter","","",null,null],[3,"TypeFilter","","",null,null],[3,"ScriptScoreFunc","","",null,null],[3,"RandomScoreFunc","","",null,null],[3,"FieldValueFactorFunc","","",null,null],[3,"LinearFunc","","",null,null],[3,"ExpFunc","","",null,null],[3,"GaussFunc","","",null,null],[3,"Function","","",null,null],[4,"Query","","",null,null],[13,"MatchAll","","",37,null],[13,"Match","","",37,null],[13,"MultiMatch","","",37,null],[13,"Bool","","",37,null],[13,"Boosting","","",37,null],[13,"Common","","",37,null],[13,"ConstantScore","","",37,null],[13,"DisMax","","",37,null],[13,"Filtered","","",37,null],[13,"FuzzyLikeThis","","",37,null],[13,"FuzzyLikeThisField","","",37,null],[13,"FunctionScore","","",37,null],[13,"Fuzzy","","",37,null],[13,"GeoShape","","",37,null],[13,"HasChild","","",37,null],[13,"HasParent","","",37,null],[13,"Ids","","",37,null],[13,"Indices","","",37,null],[13,"MoreLikeThis","","",37,null],[13,"Nested","","",37,null],[13,"Prefix","","",37,null],[13,"QueryString","","",37,null],[13,"SimpleQueryString","","",37,null],[13,"Range","","",37,null],[13,"Regexp","","",37,null],[13,"SpanFirst","","",37,null],[13,"SpanMulti","","",37,null],[13,"SpanNear","","",37,null],[13,"SpanNot","","",37,null],[13,"SpanOr","","",37,null],[13,"SpanTerm","","",37,null],[13,"Term","","",37,null],[13,"Terms","","",37,null],[13,"Wildcard","","",37,null],[4,"Filter","","",null,null],[13,"And","","",38,null],[13,"Bool","","",38,null],[13,"Exists","","",38,null],[13,"GeoBoundingBox","","",38,null],[13,"GeoDistance","","",38,null],[13,"GeoPolygon","","",38,null],[13,"GeoShape","","",38,null],[13,"GeohashCell","","",38,null],[13,"HasChild","","",38,null],[13,"HasParent","","",38,null],[13,"Ids","","",38,null],[13,"Indices","","",38,null],[13,"MatchAll","","",38,null],[13,"Missing","","",38,null],[13,"Nested","","",38,null],[13,"Not","","",38,null],[13,"Or","","",38,null],[13,"Prefix","","",38,null],[13,"Query","","",38,null],[13,"Range","","",38,null],[13,"Regexp","","",38,null],[13,"Script","","",38,null],[13,"Term","","",38,null],[13,"Terms","","",38,null],[13,"Type","","",38,null],[4,"ZeroTermsQuery","","",null,null],[13,"None","","",39,null],[13,"All","","",39,null],[4,"Fuzziness","","",null,null],[13,"Auto","","",40,null],[13,"LevenshteinDistance","","",40,null],[13,"Proportionate","","",40,null],[4,"MatchType","","",null,null],[13,"Phrase","","",41,null],[13,"PhrasePrefix","","",41,null],[4,"MatchQueryType","","",null,null],[13,"BestFields","","",42,null],[13,"MostFields","","",42,null],[13,"CrossFields","","",42,null],[13,"Phrase","","",42,null],[13,"PhrasePrefix","","",42,null],[4,"MinimumShouldMatch","","",null,null],[13,"Integer","","",43,null],[13,"Percentage","","",43,null],[13,"Combination","","",43,null],[13,"MultipleCombination","","",43,null],[13,"LowHigh","","",43,null],[4,"Strategy","","",null,null],[13,"LeapFrogQueryFirst","","",44,null],[13,"LeapFrogFilterFirst","","",44,null],[13,"QueryFirst","","",44,null],[13,"RandomAccess","","",44,null],[13,"RandomAccessAlways","","",44,null],[4,"ScoreMode","","",null,null],[13,"Multiply","","",45,null],[13,"Sum","","",45,null],[13,"Avg","","",45,null],[13,"First","","",45,null],[13,"Max","","",45,null],[13,"Min","","",45,null],[4,"BoostMode","","",null,null],[13,"Multiply","","",46,null],[13,"Replace","","",46,null],[13,"Sum","","",46,null],[13,"Avg","","",46,null],[13,"Max","","",46,null],[13,"Min","","",46,null],[4,"Rewrite","","",null,null],[13,"ConstantScoreAuto","","",47,null],[13,"ScoringBoolean","","",47,null],[13,"ConstantScoreBoolean","","",47,null],[13,"ConstantScoreFilter","","",47,null],[13,"TopTerms","","",47,null],[13,"TopTermsBoost","","",47,null],[4,"Flag","","",null,null],[13,"All","","",48,null],[13,"AnyString","","",48,null],[13,"Complement","","",48,null],[13,"Intersection","","",48,null],[13,"Interval","","",48,null],[13,"None","","",48,null],[4,"GeoBox","","",null,null],[13,"Corners","","",49,null],[13,"Vertices","","",49,null],[4,"OptimizeBbox","","",null,null],[13,"Memory","","",50,null],[13,"Indexed","","",50,null],[13,"None","","",50,null],[4,"Precision","","",null,null],[13,"Geohash","","",51,null],[13,"Distance","","",51,null],[4,"NoMatchFilter","","",null,null],[13,"None","","",52,null],[13,"All","","",52,null],[13,"Filter","","",52,null],[4,"Execution","","",null,null],[13,"Plain","","",53,null],[13,"Fielddata","","",53,null],[13,"Bool","","",53,null],[13,"BoolNocache","","",53,null],[13,"And","","",53,null],[13,"AndNocache","","",53,null],[13,"Or","","",53,null],[13,"OrNocache","","",53,null],[4,"Func","","",null,null],[13,"ScriptScore","","",54,null],[13,"RandomScore","","",54,null],[13,"FieldValueFactor","","",54,null],[13,"Linear","","",54,null],[13,"Exp","","",54,null],[13,"Gauss","","",54,null],[4,"Modifier","","",null,null],[13,"None","","",55,null],[13,"Log","","",55,null],[13,"Log1p","","",55,null],[13,"Log2p","","",55,null],[13,"Ln","","",55,null],[13,"Ln1p","","",55,null],[13,"Ln2p","","",55,null],[13,"Square","","",55,null],[13,"Sqrt","","",55,null],[13,"Reciprocal","","",55,null],[4,"MultiValueMode","","",null,null],[13,"Min","","",56,null],[13,"Max","","",56,null],[13,"Avg","","",56,null],[13,"Sum","","",56,null],[11,"from","alloc::boxed","",57,{"inputs":[{"name":"box"},{"name":"filter"}],"output":{"name":"box"}}],[11,"from","","",57,{"inputs":[{"name":"box"},{"name":"query"}],"output":{"name":"box"}}],[11,"build_match_all","rs_es::query","",37,{"inputs":[{"name":"query"}],"output":{"name":"matchallquery"}}],[11,"build_match","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"matchquery"}}],[11,"build_multi_match","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"multimatchquery"}}],[11,"build_bool","","",37,{"inputs":[{"name":"query"}],"output":{"name":"boolquery"}}],[11,"build_boosting","","",37,{"inputs":[{"name":"query"}],"output":{"name":"boostingquery"}}],[11,"build_common","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"commonquery"}}],[11,"build_constant_score","","",37,{"inputs":[{"name":"query"}],"output":{"name":"constantscorequery"}}],[11,"build_dis_max","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"dismaxquery"}}],[11,"build_filtered","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"filteredquery"}}],[11,"build_fuzzy_like_this","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"fuzzylikethisquery"}}],[11,"build_fuzzy_like_this_field","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"fuzzylikethisfieldquery"}}],[11,"build_function_score","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"functionscorequery"}}],[11,"build_fuzzy","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"fuzzyquery"}}],[11,"build_geo_shape","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"geoshapequery"}}],[11,"build_has_child","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"haschildquery"}}],[11,"build_has_parent","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"hasparentquery"}}],[11,"build_ids","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"idsquery"}}],[11,"build_indices","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"indicesquery"}}],[11,"build_more_like_this","","",37,{"inputs":[{"name":"query"}],"output":{"name":"morelikethisquery"}}],[11,"build_nested","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"nestedquery"}}],[11,"build_prefix","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"prefixquery"}}],[11,"build_query_string","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"querystringquery"}}],[11,"build_simple_query_string","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"simplequerystringquery"}}],[11,"build_range","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"rangequery"}}],[11,"build_regexp","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"regexpquery"}}],[11,"build_span_first","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spanfirstquery"}}],[11,"build_span_multi","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"spanmultiquery"}}],[11,"build_span_near","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spannearquery"}}],[11,"build_span_not","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spannotquery"}}],[11,"build_span_or","","",37,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"spanorquery"}}],[11,"build_span_term","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spantermquery"}}],[11,"build_term","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"termquery"}}],[11,"build_terms","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"termsquery"}}],[11,"build_wildcard","","",37,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"wildcardquery"}}],[11,"to_json","","",37,{"inputs":[{"name":"query"}],"output":{"name":"json"}}],[11,"build_and","","",38,{"inputs":[{"name":"filter"}],"output":{"name":"andfilter"}}],[11,"build_bool","","",38,{"inputs":[{"name":"filter"}],"output":{"name":"boolfilter"}}],[11,"build_exists","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"existsfilter"}}],[11,"build_geo_bounding_box","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geoboundingboxfilter"}}],[11,"build_geo_distance","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"},{"name":"c"}],"output":{"name":"geodistancefilter"}}],[11,"build_geo_polygon","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geopolygonfilter"}}],[11,"build_geo_shape","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"geoshapefilter"}}],[11,"build_geohash_cell","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geohashcellfilter"}}],[11,"build_has_child","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"haschildfilter"}}],[11,"build_has_parent","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"hasparentfilter"}}],[11,"build_ids","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"idsfilter"}}],[11,"build_indices","","",38,{"inputs":[{"name":"filter"}],"output":{"name":"indicesfilter"}}],[11,"build_match_all","","",38,{"inputs":[{"name":"filter"}],"output":{"name":"matchallfilter"}}],[11,"build_missing","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"missingfilter"}}],[11,"build_nested","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"nestedfilter"}}],[11,"build_not","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"notfilter"}}],[11,"build_or","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"orfilter"}}],[11,"build_prefix","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"prefixfilter"}}],[11,"build_query","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"queryfilter"}}],[11,"build_range","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"rangefilter"}}],[11,"build_regexp","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"regexpfilter"}}],[11,"build_script","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"scriptfilter"}}],[11,"build_term","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"termfilter"}}],[11,"build_terms","","",38,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"termsfilter"}}],[11,"build_type","","",38,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"typefilter"}}],[11,"to_json","","",38,{"inputs":[{"name":"filter"}],"output":{"name":"json"}}],[11,"clone","","",39,{"inputs":[{"name":"zerotermsquery"}],"output":{"name":"zerotermsquery"}}],[11,"to_json","","",39,{"inputs":[{"name":"zerotermsquery"}],"output":{"name":"json"}}],[11,"from","","",40,{"inputs":[{"name":"fuzziness"},{"name":"i64"}],"output":{"name":"fuzziness"}}],[11,"from","","",40,{"inputs":[{"name":"fuzziness"},{"name":"f64"}],"output":{"name":"fuzziness"}}],[11,"to_json","","",40,{"inputs":[{"name":"fuzziness"}],"output":{"name":"json"}}],[11,"clone","","",41,{"inputs":[{"name":"matchtype"}],"output":{"name":"matchtype"}}],[11,"to_json","","",41,{"inputs":[{"name":"matchtype"}],"output":{"name":"json"}}],[11,"clone","","",42,{"inputs":[{"name":"matchquerytype"}],"output":{"name":"matchquerytype"}}],[11,"to_json","","",42,{"inputs":[{"name":"matchquerytype"}],"output":{"name":"json"}}],[11,"with_boost","","",58,{"inputs":[{"name":"matchallquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",58,{"inputs":[{"name":"matchallquery"}],"output":{"name":"query"}}],[11,"to_json","","",58,{"inputs":[{"name":"matchallquery"}],"output":{"name":"json"}}],[11,"with_type","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cutoff_frequency","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_operator","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_zero_terms_query","","",59,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",59,{"inputs":[{"name":"matchquery"}],"output":{"name":"query"}}],[11,"to_json","","",59,{"inputs":[{"name":"matchquery"}],"output":{"name":"json"}}],[11,"with_use_dis_max","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_type","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_operator","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_zero_terms_query","","",60,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",60,{"inputs":[{"name":"multimatchquery"}],"output":{"name":"query"}}],[11,"to_json","","",60,{"inputs":[{"name":"multimatchquery"}],"output":{"name":"json"}}],[11,"with_must","","",61,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_must_not","","",61,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_should","","",61,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",61,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",61,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",61,{"inputs":[{"name":"boolquery"}],"output":{"name":"query"}}],[11,"to_json","","",61,{"inputs":[{"name":"boolquery"}],"output":{"name":"json"}}],[11,"with_positive","","",62,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_negative","","",62,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_negative_boost","","",62,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",62,{"inputs":[{"name":"boostingquery"}],"output":{"name":"query"}}],[11,"to_json","","",62,{"inputs":[{"name":"boostingquery"}],"output":{"name":"json"}}],[11,"with_cutoff_frequency","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_low_freq_operator","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_high_freq_operator","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_disable_coord","","",63,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",63,{"inputs":[{"name":"commonquery"}],"output":{"name":"query"}}],[11,"fmt","","",64,{"inputs":[{"name":"combinationminimumshouldmatch"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","",64,{"inputs":[{"name":"combinationminimumshouldmatch"},{"name":"a"},{"name":"b"}],"output":{"name":"combinationminimumshouldmatch"}}],[11,"to_string","","",64,{"inputs":[{"name":"combinationminimumshouldmatch"}],"output":{"name":"string"}}],[11,"to_json","","",64,{"inputs":[{"name":"combinationminimumshouldmatch"}],"output":{"name":"json"}}],[11,"fmt","","",43,{"inputs":[{"name":"minimumshouldmatch"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",43,{"inputs":[{"name":"minimumshouldmatch"},{"name":"i64"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",43,{"inputs":[{"name":"minimumshouldmatch"},{"name":"f64"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",43,{"inputs":[{"name":"minimumshouldmatch"},{"name":"combinationminimumshouldmatch"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",43,{"inputs":[{"name":"minimumshouldmatch"},{"name":"vec"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",43,null],[11,"to_string","","",43,{"inputs":[{"name":"minimumshouldmatch"}],"output":{"name":"string"}}],[11,"to_json","","",43,{"inputs":[{"name":"minimumshouldmatch"}],"output":{"name":"json"}}],[11,"to_json","","",63,{"inputs":[{"name":"commonquery"}],"output":{"name":"json"}}],[11,"with_filter","","",65,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_query","","",65,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",65,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",65,{"inputs":[{"name":"constantscorequery"}],"output":{"name":"query"}}],[11,"to_json","","",65,{"inputs":[{"name":"constantscorequery"}],"output":{"name":"json"}}],[11,"with_tie_breaker","","",66,{"inputs":[{"name":"dismaxquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",66,{"inputs":[{"name":"dismaxquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",66,{"inputs":[{"name":"dismaxquery"}],"output":{"name":"query"}}],[11,"to_json","","",66,{"inputs":[{"name":"dismaxquery"}],"output":{"name":"json"}}],[11,"with_query","","",67,{"inputs":[{"name":"filteredquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_strategy","","",67,{"inputs":[{"name":"filteredquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",67,{"inputs":[{"name":"filteredquery"}],"output":{"name":"query"}}],[11,"from","","",44,{"inputs":[{"name":"strategy"},{"name":"i64"}],"output":{"name":"strategy"}}],[11,"to_json","","",44,{"inputs":[{"name":"strategy"}],"output":{"name":"json"}}],[11,"to_json","","",67,{"inputs":[{"name":"filteredquery"}],"output":{"name":"json"}}],[11,"with_fields","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ignore_tf","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",68,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",68,{"inputs":[{"name":"fuzzylikethisquery"}],"output":{"name":"query"}}],[11,"to_json","","",68,{"inputs":[{"name":"fuzzylikethisquery"}],"output":{"name":"json"}}],[11,"with_ignore_tf","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"}],"output":{"name":"query"}}],[11,"to_json","","",69,{"inputs":[{"name":"fuzzylikethisfieldquery"}],"output":{"name":"json"}}],[11,"with_query","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_boost","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_score_mode","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost_mode","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_score","","",70,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",70,{"inputs":[{"name":"functionscorequery"}],"output":{"name":"query"}}],[11,"clone","","",45,{"inputs":[{"name":"scoremode"}],"output":{"name":"scoremode"}}],[11,"to_json","","",45,{"inputs":[{"name":"scoremode"}],"output":{"name":"json"}}],[11,"clone","","",46,{"inputs":[{"name":"boostmode"}],"output":{"name":"boostmode"}}],[11,"to_json","","",46,{"inputs":[{"name":"boostmode"}],"output":{"name":"json"}}],[11,"to_json","","",70,{"inputs":[{"name":"functionscorequery"}],"output":{"name":"json"}}],[11,"with_boost","","",71,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",71,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",71,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",71,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",71,{"inputs":[{"name":"fuzzyquery"}],"output":{"name":"query"}}],[11,"to_json","","",71,{"inputs":[{"name":"fuzzyquery"}],"output":{"name":"json"}}],[11,"new","","",72,{"inputs":[{"name":"shape"},{"name":"a"},{"name":"vec"}],"output":{"name":"shape"}}],[11,"to_json","","",72,{"inputs":[{"name":"shape"}],"output":{"name":"json"}}],[11,"new","","",73,{"inputs":[{"name":"indexedshape"},{"name":"a"},{"name":"b"},{"name":"c"},{"name":"d"}],"output":{"name":"indexedshape"}}],[11,"to_json","","",73,{"inputs":[{"name":"indexedshape"}],"output":{"name":"json"}}],[11,"with_shape","","",74,{"inputs":[{"name":"geoshapequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indexed_shape","","",74,{"inputs":[{"name":"geoshapequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",74,{"inputs":[{"name":"geoshapequery"}],"output":{"name":"query"}}],[11,"to_json","","",74,{"inputs":[{"name":"geoshapequery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",75,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_children","","",75,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_children","","",75,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",75,{"inputs":[{"name":"haschildquery"}],"output":{"name":"query"}}],[11,"to_json","","",75,{"inputs":[{"name":"haschildquery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",76,{"inputs":[{"name":"hasparentquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",76,{"inputs":[{"name":"hasparentquery"}],"output":{"name":"query"}}],[11,"to_json","","",76,{"inputs":[{"name":"hasparentquery"}],"output":{"name":"json"}}],[11,"with_type","","",77,{"inputs":[{"name":"idsquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",77,{"inputs":[{"name":"idsquery"}],"output":{"name":"query"}}],[11,"to_json","","",77,{"inputs":[{"name":"idsquery"}],"output":{"name":"json"}}],[11,"with_index","","",78,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indices","","",78,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_no_match_query","","",78,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",78,{"inputs":[{"name":"indicesquery"}],"output":{"name":"query"}}],[11,"to_json","","",78,{"inputs":[{"name":"indicesquery"}],"output":{"name":"json"}}],[11,"from_doc","","",79,{"inputs":[{"name":"doc"},{"name":"a"},{"name":"b"},{"name":"json"}],"output":{"name":"doc"}}],[11,"id","","",79,{"inputs":[{"name":"doc"},{"name":"a"},{"name":"b"},{"name":"c"}],"output":{"name":"doc"}}],[11,"to_json","","",79,{"inputs":[{"name":"doc"}],"output":{"name":"json"}}],[11,"with_fields","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_like_text","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ids","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_docs","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_term_freq","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_doc_freq","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_doc_freq","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_word_length","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_word_length","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_stop_words","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost_terms","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_include","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",80,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",80,{"inputs":[{"name":"morelikethisquery"}],"output":{"name":"query"}}],[11,"to_json","","",80,{"inputs":[{"name":"morelikethisquery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",81,{"inputs":[{"name":"nestedquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",81,{"inputs":[{"name":"nestedquery"}],"output":{"name":"query"}}],[11,"to_json","","",81,{"inputs":[{"name":"nestedquery"}],"output":{"name":"json"}}],[11,"with_boost","","",82,{"inputs":[{"name":"prefixquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",82,{"inputs":[{"name":"prefixquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",82,{"inputs":[{"name":"prefixquery"}],"output":{"name":"query"}}],[11,"to_json","","",47,{"inputs":[{"name":"rewrite"}],"output":{"name":"json"}}],[11,"to_json","","",82,{"inputs":[{"name":"prefixquery"}],"output":{"name":"json"}}],[11,"with_default_field","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_allow_leading_wildcard","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_enable_position_increments","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzzy_max_expansions","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzzy_prefix_length","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_phrase_slop","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyze_wildcard","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_auto_generate_phrase_queries","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_locale","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",83,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",83,{"inputs":[{"name":"querystringquery"}],"output":{"name":"query"}}],[11,"to_json","","",83,{"inputs":[{"name":"querystringquery"}],"output":{"name":"json"}}],[11,"with_fields","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_locale","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",84,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",84,{"inputs":[{"name":"simplequerystringquery"}],"output":{"name":"query"}}],[11,"to_json","","",84,{"inputs":[{"name":"simplequerystringquery"}],"output":{"name":"json"}}],[11,"with_gte","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_gt","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lte","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lt","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_format","","",85,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",85,{"inputs":[{"name":"rangequery"}],"output":{"name":"query"}}],[11,"to_json","","",85,{"inputs":[{"name":"rangequery"}],"output":{"name":"json"}}],[11,"with_boost","","",86,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",86,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",86,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",86,{"inputs":[{"name":"regexpquery"}],"output":{"name":"query"}}],[11,"to_string","","",48,{"inputs":[{"name":"flag"}],"output":{"name":"string"}}],[11,"new","","",87,{"inputs":[{"name":"flags"}],"output":{"name":"flags"}}],[11,"add_flag","","",87,{"inputs":[{"name":"flags"},{"name":"flag"}],"output":{"name":"self"}}],[11,"to_json","","",87,{"inputs":[{"name":"flags"}],"output":{"name":"json"}}],[11,"to_json","","",86,{"inputs":[{"name":"regexpquery"}],"output":{"name":"json"}}],[11,"build","","",88,{"inputs":[{"name":"spanfirstquery"}],"output":{"name":"query"}}],[11,"to_json","","",88,{"inputs":[{"name":"spanfirstquery"}],"output":{"name":"json"}}],[11,"build","","",89,{"inputs":[{"name":"spanmultiquery"}],"output":{"name":"query"}}],[11,"to_json","","",89,{"inputs":[{"name":"spanmultiquery"}],"output":{"name":"json"}}],[11,"with_in_order","","",90,{"inputs":[{"name":"spannearquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_collect_payloads","","",90,{"inputs":[{"name":"spannearquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",90,{"inputs":[{"name":"spannearquery"}],"output":{"name":"query"}}],[11,"to_json","","",90,{"inputs":[{"name":"spannearquery"}],"output":{"name":"json"}}],[11,"with_pre","","",91,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_post","","",91,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_dist","","",91,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",91,{"inputs":[{"name":"spannotquery"}],"output":{"name":"query"}}],[11,"to_json","","",91,{"inputs":[{"name":"spannotquery"}],"output":{"name":"json"}}],[11,"build","","",92,{"inputs":[{"name":"spanorquery"}],"output":{"name":"query"}}],[11,"to_json","","",92,{"inputs":[{"name":"spanorquery"}],"output":{"name":"json"}}],[11,"with_boost","","",93,{"inputs":[{"name":"spantermquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",93,{"inputs":[{"name":"spantermquery"}],"output":{"name":"query"}}],[11,"to_json","","",93,{"inputs":[{"name":"spantermquery"}],"output":{"name":"json"}}],[11,"with_boost","","",94,{"inputs":[{"name":"termquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",94,{"inputs":[{"name":"termquery"}],"output":{"name":"query"}}],[11,"to_json","","",94,{"inputs":[{"name":"termquery"}],"output":{"name":"json"}}],[11,"with_minimum_should_match","","",95,{"inputs":[{"name":"termsquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",95,{"inputs":[{"name":"termsquery"}],"output":{"name":"query"}}],[11,"to_json","","",95,{"inputs":[{"name":"termsquery"}],"output":{"name":"json"}}],[11,"with_boost","","",96,{"inputs":[{"name":"wildcardquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",96,{"inputs":[{"name":"wildcardquery"}],"output":{"name":"query"}}],[11,"to_json","","",96,{"inputs":[{"name":"wildcardquery"}],"output":{"name":"json"}}],[11,"with_filters","","",97,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",97,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",97,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",97,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",97,{"inputs":[{"name":"andfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",97,{"inputs":[{"name":"andfilter"}],"output":{"name":"json"}}],[11,"with_must","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_must_not","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_should","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",98,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",98,{"inputs":[{"name":"boolfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",98,{"inputs":[{"name":"boolfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",99,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",99,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",99,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",99,{"inputs":[{"name":"existsfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",99,{"inputs":[{"name":"existsfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",100,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",100,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",100,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",100,{"inputs":[{"name":"geoboundingboxfilter"}],"output":{"name":"filter"}}],[11,"from","","",49,null],[11,"from","","",49,null],[11,"from","","",49,null],[11,"to_json","","",49,{"inputs":[{"name":"geobox"}],"output":{"name":"json"}}],[11,"to_json","","",100,{"inputs":[{"name":"geoboundingboxfilter"}],"output":{"name":"json"}}],[11,"with_distance_type","","",101,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_optimize_bbox","","",101,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",101,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",101,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",101,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",101,{"inputs":[{"name":"geodistancefilter"}],"output":{"name":"filter"}}],[11,"new","","",102,{"inputs":[{"name":"distance"},{"name":"f64"},{"name":"distanceunit"}],"output":{"name":"distance"}}],[11,"to_json","","",102,{"inputs":[{"name":"distance"}],"output":{"name":"json"}}],[11,"clone","","",50,{"inputs":[{"name":"optimizebbox"}],"output":{"name":"optimizebbox"}}],[11,"to_json","","",50,{"inputs":[{"name":"optimizebbox"}],"output":{"name":"json"}}],[11,"to_json","","",101,{"inputs":[{"name":"geodistancefilter"}],"output":{"name":"json"}}],[11,"with_cache","","",103,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",103,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",103,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",103,{"inputs":[{"name":"geopolygonfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",103,{"inputs":[{"name":"geopolygonfilter"}],"output":{"name":"json"}}],[11,"with_shape","","",104,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indexed_shape","","",104,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",104,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",104,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",104,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",104,{"inputs":[{"name":"geoshapefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",104,{"inputs":[{"name":"geoshapefilter"}],"output":{"name":"json"}}],[11,"with_precision","","",105,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_neighbors","","",105,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",105,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",105,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",105,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",105,{"inputs":[{"name":"geohashcellfilter"}],"output":{"name":"filter"}}],[11,"from","","",51,{"inputs":[{"name":"precision"},{"name":"i64"}],"output":{"name":"precision"}}],[11,"from","","",51,{"inputs":[{"name":"precision"},{"name":"distance"}],"output":{"name":"precision"}}],[11,"to_json","","",51,{"inputs":[{"name":"precision"}],"output":{"name":"json"}}],[11,"to_json","","",105,{"inputs":[{"name":"geohashcellfilter"}],"output":{"name":"json"}}],[11,"with_query","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_children","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_children","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",106,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",106,{"inputs":[{"name":"haschildfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",106,{"inputs":[{"name":"haschildfilter"}],"output":{"name":"json"}}],[11,"with_query","","",107,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",107,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",107,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",107,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",107,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",107,{"inputs":[{"name":"hasparentfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",107,{"inputs":[{"name":"hasparentfilter"}],"output":{"name":"json"}}],[11,"with_type","","",108,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",108,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",108,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",108,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",108,{"inputs":[{"name":"idsfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",108,{"inputs":[{"name":"idsfilter"}],"output":{"name":"json"}}],[11,"with_index","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indices","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_no_match_filter","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",109,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",109,{"inputs":[{"name":"indicesfilter"}],"output":{"name":"filter"}}],[11,"from","","",52,{"inputs":[{"name":"nomatchfilter"},{"name":"filter"}],"output":{"name":"nomatchfilter"}}],[11,"to_json","","",52,{"inputs":[{"name":"nomatchfilter"}],"output":{"name":"json"}}],[11,"to_json","","",109,{"inputs":[{"name":"indicesfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",110,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",110,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",110,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",110,{"inputs":[{"name":"matchallfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",110,{"inputs":[{"name":"matchallfilter"}],"output":{"name":"json"}}],[11,"with_existence","","",111,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_null_value","","",111,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",111,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",111,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",111,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",111,{"inputs":[{"name":"missingfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",111,{"inputs":[{"name":"missingfilter"}],"output":{"name":"json"}}],[11,"with_score_mode","","",112,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_join","","",112,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",112,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",112,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",112,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",112,{"inputs":[{"name":"nestedfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",112,{"inputs":[{"name":"nestedfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",113,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",113,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",113,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",113,{"inputs":[{"name":"notfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",113,{"inputs":[{"name":"notfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",114,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",114,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",114,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",114,{"inputs":[{"name":"orfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",114,{"inputs":[{"name":"orfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",115,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",115,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",115,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",115,{"inputs":[{"name":"prefixfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",115,{"inputs":[{"name":"prefixfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",116,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",116,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",116,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",116,{"inputs":[{"name":"queryfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",116,{"inputs":[{"name":"queryfilter"}],"output":{"name":"json"}}],[11,"with_gte","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_gt","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lte","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lt","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_format","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",117,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",117,{"inputs":[{"name":"rangefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",117,{"inputs":[{"name":"rangefilter"}],"output":{"name":"json"}}],[11,"with_boost","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",118,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",118,{"inputs":[{"name":"regexpfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",118,{"inputs":[{"name":"regexpfilter"}],"output":{"name":"json"}}],[11,"with_params","","",119,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",119,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",119,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",119,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",119,{"inputs":[{"name":"scriptfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",119,{"inputs":[{"name":"scriptfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",120,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",120,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",120,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",120,{"inputs":[{"name":"termfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",120,{"inputs":[{"name":"termfilter"}],"output":{"name":"json"}}],[11,"with_execution","","",121,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",121,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",121,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",121,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",121,{"inputs":[{"name":"termsfilter"}],"output":{"name":"filter"}}],[11,"clone","","",53,{"inputs":[{"name":"execution"}],"output":{"name":"execution"}}],[11,"to_json","","",53,{"inputs":[{"name":"execution"}],"output":{"name":"json"}}],[11,"to_json","","",121,{"inputs":[{"name":"termsfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",122,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",122,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",122,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",122,{"inputs":[{"name":"typefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",122,{"inputs":[{"name":"typefilter"}],"output":{"name":"json"}}],[11,"build_script_score","","",54,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"scriptscorefunc"}}],[11,"build_random_score","","",54,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"randomscorefunc"}}],[11,"build_field_value_factor","","",54,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"fieldvaluefactorfunc"}}],[11,"build_linear","","",54,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"linearfunc"}}],[11,"build_exp","","",54,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"expfunc"}}],[11,"build_gauss","","",54,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"gaussfunc"}}],[11,"to_json","","",54,{"inputs":[{"name":"func"}],"output":{"name":"json"}}],[11,"with_lang","","",123,{"inputs":[{"name":"scriptscorefunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_params","","",123,{"inputs":[{"name":"scriptscorefunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",123,{"inputs":[{"name":"scriptscorefunc"}],"output":{"name":"func"}}],[11,"to_json","","",123,{"inputs":[{"name":"scriptscorefunc"}],"output":{"name":"json"}}],[11,"build","","",124,{"inputs":[{"name":"randomscorefunc"}],"output":{"name":"func"}}],[11,"to_json","","",124,{"inputs":[{"name":"randomscorefunc"}],"output":{"name":"json"}}],[11,"with_factor","","",125,{"inputs":[{"name":"fieldvaluefactorfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_modifier","","",125,{"inputs":[{"name":"fieldvaluefactorfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",125,{"inputs":[{"name":"fieldvaluefactorfunc"}],"output":{"name":"func"}}],[11,"clone","","",55,{"inputs":[{"name":"modifier"}],"output":{"name":"modifier"}}],[11,"to_json","","",55,{"inputs":[{"name":"modifier"}],"output":{"name":"json"}}],[11,"to_json","","",125,{"inputs":[{"name":"fieldvaluefactorfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",126,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",126,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",126,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",126,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",126,{"inputs":[{"name":"linearfunc"}],"output":{"name":"func"}}],[11,"clone","","",56,{"inputs":[{"name":"multivaluemode"}],"output":{"name":"multivaluemode"}}],[11,"to_json","","",56,{"inputs":[{"name":"multivaluemode"}],"output":{"name":"json"}}],[11,"to_json","","",126,{"inputs":[{"name":"linearfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",127,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",127,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",127,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",127,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",127,{"inputs":[{"name":"expfunc"}],"output":{"name":"func"}}],[11,"to_json","","",127,{"inputs":[{"name":"expfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",128,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",128,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",128,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",128,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",128,{"inputs":[{"name":"gaussfunc"}],"output":{"name":"func"}}],[11,"to_json","","",128,{"inputs":[{"name":"gaussfunc"}],"output":{"name":"json"}}],[11,"new","","",129,{"inputs":[{"name":"function"},{"name":"func"}],"output":{"name":"function"}}],[11,"with_filter","","",129,{"inputs":[{"name":"function"},{"name":"filter"}],"output":{"name":"function"}}],[11,"with_weight","","",129,{"inputs":[{"name":"function"},{"name":"f64"}],"output":{"name":"function"}}],[11,"to_json","","",129,{"inputs":[{"name":"function"}],"output":{"name":"json"}}],[0,"units","rs_es","Various re-occuring types that are used by the ElasticSearch API.",null,null],[3,"Duration","rs_es::units","A time-period unit, will be formatted into the ElasticSearch standard format",null,null],[4,"DurationUnit","","The units by which duration is measured.",null,null],[13,"Week","","",130,null],[13,"Day","","",130,null],[13,"Hour","","",130,null],[13,"Minute","","",130,null],[4,"Location","","Representing a geographic location",null,null],[13,"LatLon","","",131,null],[13,"GeoHash","","",131,null],[4,"OneOrMany","","A non-specific holder for an option which can either be a single thing, or\nmultiple instances of that thing.",null,null],[13,"One","","",132,null],[13,"Many","","",132,null],[4,"DistanceType","","DistanceType",null,null],[13,"SloppyArc","","",133,null],[13,"Arc","","",133,null],[13,"Plane","","",133,null],[4,"DistanceUnit","","DistanceUnit",null,null],[13,"Mile","","",134,null],[13,"Yard","","",134,null],[13,"Feet","","",134,null],[13,"Inch","","",134,null],[13,"Kilometer","","",134,null],[13,"Meter","","",134,null],[13,"Centimeter","","",134,null],[13,"Millimeter","","",134,null],[13,"NauticalMile","","",134,null],[4,"JsonVal","","",null,null],[13,"String","","",135,null],[13,"I64","","",135,null],[13,"F64","","",135,null],[11,"fmt","","",130,{"inputs":[{"name":"durationunit"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"to_string","","",130,{"inputs":[{"name":"durationunit"}],"output":{"name":"string"}}],[11,"fmt","","",136,{"inputs":[{"name":"duration"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","",136,{"inputs":[{"name":"duration"},{"name":"i64"},{"name":"durationunit"}],"output":{"name":"duration"}}],[11,"to_string","","",136,{"inputs":[{"name":"duration"}],"output":{"name":"string"}}],[11,"to_json","","",136,{"inputs":[{"name":"duration"}],"output":{"name":"json"}}],[11,"from","","",131,null],[11,"from","","",131,{"inputs":[{"name":"location"},{"name":"string"}],"output":{"name":"location"}}],[11,"to_json","","",131,{"inputs":[{"name":"location"}],"output":{"name":"json"}}],[11,"from","","",132,{"inputs":[{"name":"oneormany"},{"name":"t"}],"output":{"name":"oneormany"}}],[11,"from","","",132,{"inputs":[{"name":"oneormany"},{"name":"vec"}],"output":{"name":"oneormany"}}],[11,"to_json","","",132,{"inputs":[{"name":"oneormany"}],"output":{"name":"json"}}],[11,"to_json","","",133,{"inputs":[{"name":"distancetype"}],"output":{"name":"json"}}],[11,"to_string","","",134,{"inputs":[{"name":"distanceunit"}],"output":{"name":"string"}}],[11,"to_json","","",134,{"inputs":[{"name":"distanceunit"}],"output":{"name":"json"}}],[11,"to_json","","",135,{"inputs":[{"name":"jsonval"}],"output":{"name":"json"}}],[11,"from","","",135,{"inputs":[{"name":"jsonval"},{"name":"string"}],"output":{"name":"jsonval"}}],[11,"from","","",135,{"inputs":[{"name":"jsonval"},{"name":"str"}],"output":{"name":"jsonval"}}],[11,"from","","",135,{"inputs":[{"name":"jsonval"},{"name":"f64"}],"output":{"name":"jsonval"}}],[11,"from","","",135,{"inputs":[{"name":"jsonval"},{"name":"i64"}],"output":{"name":"jsonval"}}],[11,"new","rs_es","Create a new client",137,{"inputs":[{"name":"client"},{"name":"str"},{"name":"u32"}],"output":{"name":"client"}}],[11,"full_url","","Take a nearly complete ElasticSearch URL, and stick the host/port part\non the front.",137,{"inputs":[{"name":"client"},{"name":"str"}],"output":{"name":"string"}}],[11,"version","","Calls the base ES path, returning the version number",137,{"inputs":[{"name":"client"}],"output":{"name":"result"}}],[11,"refresh","","Refresh",137,{"inputs":[{"name":"client"}],"output":{"name":"refreshoperation"}}],[11,"index","","An index operation to index a document in the specified index.",137,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"indexoperation"}}],[11,"get","","Implementation of the ES GET API",137,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"getoperation"}}],[11,"delete","","Delete by ID",137,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"deleteoperation"}}],[11,"delete_by_query","","Delete by query",137,{"inputs":[{"name":"client"}],"output":{"name":"deletebyqueryoperation"}}],[11,"bulk","","Bulk",137,null],[11,"search_uri","","Search via the query parameter",137,{"inputs":[{"name":"client"}],"output":{"name":"searchurioperation"}}],[11,"search_query","","Search via the query DSL",137,{"inputs":[{"name":"client"}],"output":{"name":"searchqueryoperation"}}]],"paths":[[8,"StrJoin"],[4,"EsError"],[3,"ShardCountResult"],[3,"RefreshResult"],[3,"ActionResult"],[3,"BulkResult"],[4,"ActionType"],[3,"ActionSource"],[3,"Action"],[3,"BulkOperation"],[3,"DeleteResult"],[3,"DeleteByQueryIndexResult"],[3,"DeleteByQueryResult"],[3,"DeleteOperation"],[3,"DeleteByQueryOperation"],[3,"GetResult"],[3,"GetOperation"],[3,"IndexResult"],[4,"OpType"],[3,"IndexOperation"],[3,"SearchHitsHitsResult"],[3,"SearchHitsResult"],[3,"SearchResult"],[3,"ScanResult"],[4,"SearchType"],[4,"Order"],[4,"Mode"],[4,"Missing"],[4,"SortBy"],[3,"SortField"],[3,"GeoDistance"],[3,"Script"],[3,"Sort"],[3,"SearchURIOperation"],[3,"SearchQueryOperation"],[3,"ScanIterator"],[3,"RefreshOperation"],[4,"Query"],[4,"Filter"],[4,"ZeroTermsQuery"],[4,"Fuzziness"],[4,"MatchType"],[4,"MatchQueryType"],[4,"MinimumShouldMatch"],[4,"Strategy"],[4,"ScoreMode"],[4,"BoostMode"],[4,"Rewrite"],[4,"Flag"],[4,"GeoBox"],[4,"OptimizeBbox"],[4,"Precision"],[4,"NoMatchFilter"],[4,"Execution"],[4,"Func"],[4,"Modifier"],[4,"MultiValueMode"],[3,"Box"],[3,"MatchAllQuery"],[3,"MatchQuery"],[3,"MultiMatchQuery"],[3,"BoolQuery"],[3,"BoostingQuery"],[3,"CommonQuery"],[3,"CombinationMinimumShouldMatch"],[3,"ConstantScoreQuery"],[3,"DisMaxQuery"],[3,"FilteredQuery"],[3,"FuzzyLikeThisQuery"],[3,"FuzzyLikeThisFieldQuery"],[3,"FunctionScoreQuery"],[3,"FuzzyQuery"],[3,"Shape"],[3,"IndexedShape"],[3,"GeoShapeQuery"],[3,"HasChildQuery"],[3,"HasParentQuery"],[3,"IdsQuery"],[3,"IndicesQuery"],[3,"Doc"],[3,"MoreLikeThisQuery"],[3,"NestedQuery"],[3,"PrefixQuery"],[3,"QueryStringQuery"],[3,"SimpleQueryStringQuery"],[3,"RangeQuery"],[3,"RegexpQuery"],[3,"Flags"],[3,"SpanFirstQuery"],[3,"SpanMultiQuery"],[3,"SpanNearQuery"],[3,"SpanNotQuery"],[3,"SpanOrQuery"],[3,"SpanTermQuery"],[3,"TermQuery"],[3,"TermsQuery"],[3,"WildcardQuery"],[3,"AndFilter"],[3,"BoolFilter"],[3,"ExistsFilter"],[3,"GeoBoundingBoxFilter"],[3,"GeoDistanceFilter"],[3,"Distance"],[3,"GeoPolygonFilter"],[3,"GeoShapeFilter"],[3,"GeohashCellFilter"],[3,"HasChildFilter"],[3,"HasParentFilter"],[3,"IdsFilter"],[3,"IndicesFilter"],[3,"MatchAllFilter"],[3,"MissingFilter"],[3,"NestedFilter"],[3,"NotFilter"],[3,"OrFilter"],[3,"PrefixFilter"],[3,"QueryFilter"],[3,"RangeFilter"],[3,"RegexpFilter"],[3,"ScriptFilter"],[3,"TermFilter"],[3,"TermsFilter"],[3,"TypeFilter"],[3,"ScriptScoreFunc"],[3,"RandomScoreFunc"],[3,"FieldValueFactorFunc"],[3,"LinearFunc"],[3,"ExpFunc"],[3,"GaussFunc"],[3,"Function"],[4,"DurationUnit"],[4,"Location"],[4,"OneOrMany"],[4,"DistanceType"],[4,"DistanceUnit"],[4,"JsonVal"],[3,"Duration"],[3,"Client"]]}; +searchIndex['rs_es'] = {"items":[[0,"","rs_es","A client for ElasticSearch's REST API",null,null],[3,"Client","","The core of the ElasticSearch client, owns a HTTP connection.",null,null],[5,"do_req","","Process the result of an HTTP request, returning the status code and the\n`Json` result (if the result had a body) or an `EsError` if there were any\nerrors",null,{"inputs":[{"name":"response"}],"output":{"name":"result"}}],[0,"util","","Miscellaneous code used in numerous places",null,null],[8,"StrJoin","rs_es::util","A custom String-join trait as the stdlib one is currently marked as unstable.",null,null],[10,"join","","Join an iterator of things that can be referenced as strings into a\nsingle owned-string by the given joining string",0,{"inputs":[{"name":"strjoin"},{"name":"str"}],"output":{"name":"string"}}],[0,"error","rs_es","Errors and error conversion code for the `rs_es` crate",null,null],[4,"EsError","rs_es::error","Error that can occur include IO and parsing errors, as well as specific\nerrors from the ElasticSearch server and logic errors from this library",null,null],[13,"EsError","","An internal error from this library",1,null],[13,"EsServerError","","An error reported in a JSON response from the ElasticSearch server",1,null],[13,"HttpError","","Miscellaneous error from the HTTP library",1,null],[13,"IoError","","Miscellaneous IO error",1,null],[13,"JsonDecoderError","","Miscellaneous JSON decoding error",1,null],[13,"JsonEncoderError","","Miscellaneous JSON encoding error",1,null],[13,"JsonBuilderError","","Miscllenaeous JSON building error",1,null],[11,"fmt","","",1,{"inputs":[{"name":"eserror"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"error"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"error"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"decodererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"encodererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"buildererror"}],"output":{"name":"eserror"}}],[11,"from","","",1,{"inputs":[{"name":"eserror"},{"name":"response"}],"output":{"name":"eserror"}}],[11,"description","","",1,{"inputs":[{"name":"eserror"}],"output":{"name":"str"}}],[11,"cause","","",1,{"inputs":[{"name":"eserror"}],"output":{"name":"option"}}],[11,"fmt","","",1,{"inputs":[{"name":"eserror"},{"name":"formatter"}],"output":{"name":"result"}}],[0,"operations","rs_es","Implementations of specific ElasticSearch operations",null,null],[3,"RefreshOperation","rs_es::operations","",null,null],[3,"ShardCountResult","","Shared struct for operations that include counts of success/failed shards.\nThis is returned within various other result structs.",null,null],[12,"total","","",2,null],[12,"successful","","",2,null],[12,"failed","","",2,null],[3,"RefreshResult","","Result of a refresh request",null,null],[12,"shards","","",3,null],[0,"common","","Features common to all operations",null,null],[3,"OptionVal","rs_es::operations::common","A newtype for the value of a URI option, this is to allow conversion traits\nto be implemented for it",null,null],[3,"Options","","Every ES operation has a set of options",null,null],[4,"VersionType","","The [`version_type` field](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html#index-versioning)",null,null],[13,"Internal","","",4,null],[13,"External","","",4,null],[13,"ExternalGt","","",4,null],[13,"ExternalGte","","",4,null],[13,"Force","","",4,null],[4,"Consistency","","The consistency query parameter",null,null],[13,"One","","",5,null],[13,"Quorum","","",5,null],[13,"All","","",5,null],[4,"DefaultOperator","","Values for `default_operator` query parameters",null,null],[13,"And","","",6,null],[13,"Or","","",6,null],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"str"}],"output":{"name":"optionval"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"string"}],"output":{"name":"optionval"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"i64"}],"output":{"name":"optionval"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"bool"}],"output":{"name":"optionval"}}],[11,"new","","",8,{"inputs":[{"name":"options"}],"output":{"name":"options"}}],[11,"is_empty","","",8,{"inputs":[{"name":"options"}],"output":{"name":"bool"}}],[11,"push","","Add a value",8,{"inputs":[{"name":"options"},{"name":"str"},{"name":"o"}],"output":null}],[11,"to_string","","",4,{"inputs":[{"name":"versiontype"}],"output":{"name":"string"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"versiontype"}],"output":{"name":"optionval"}}],[11,"to_json","","",4,{"inputs":[{"name":"versiontype"}],"output":{"name":"json"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"consistency"}],"output":{"name":"optionval"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"defaultoperator"}],"output":{"name":"optionval"}}],[0,"bulk","rs_es::operations","Implementation of the Bulk API",null,null],[3,"ActionSource","rs_es::operations::bulk","",null,null],[3,"Action","","A bulk operation consists of one or more `Action`s.",null,null],[3,"BulkOperation","","",null,null],[3,"ActionResult","","The result of specific actions",null,null],[12,"action","","",9,null],[12,"index","","",9,null],[12,"doc_type","","",9,null],[12,"version","","",9,null],[12,"status","","",9,null],[3,"BulkResult","","The result of a bulk operation",null,null],[12,"errors","","",10,null],[12,"items","","",10,null],[12,"took","","",10,null],[4,"ActionType","","",null,null],[13,"Index","","",11,null],[13,"Create","","",11,null],[13,"Delete","","",11,null],[13,"Update","","",11,null],[11,"new","","",12,{"inputs":[{"name":"actionsource"}],"output":{"name":"actionsource"}}],[11,"with_doc","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_upsert","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_doc_as_upsert","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_script","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_params","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lang","","",12,{"inputs":[{"name":"actionsource"},{"name":"t"}],"output":{"name":"self"}}],[11,"to_json","","",12,{"inputs":[{"name":"actionsource"}],"output":{"name":"json"}}],[11,"from","","",11,{"inputs":[{"name":"actiontype"},{"name":"string"}],"output":{"name":"actiontype"}}],[11,"to_string","","",11,{"inputs":[{"name":"actiontype"}],"output":{"name":"string"}}],[11,"index","","An index action.",13,{"inputs":[{"name":"action"},{"name":"e"}],"output":{"name":"action"}}],[11,"create","","Create action",13,{"inputs":[{"name":"action"},{"name":"e"}],"output":{"name":"action"}}],[11,"delete","","",13,{"inputs":[{"name":"action"},{"name":"s"}],"output":{"name":"action"}}],[11,"update","","",13,{"inputs":[{"name":"action"},{"name":"s"},{"name":"actionsource"}],"output":{"name":"action"}}],[11,"with_index","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_doc_type","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_id","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version_type","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timestamp","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ttl","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_retry_on_conflict","","",13,{"inputs":[{"name":"action"},{"name":"t"}],"output":{"name":"self"}}],[11,"to_json","","",13,{"inputs":[{"name":"action"}],"output":{"name":"json"}}],[11,"new","","",14,null],[11,"with_index","","",14,{"inputs":[{"name":"bulkoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_doc_type","","",14,{"inputs":[{"name":"bulkoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_consistency","","",14,{"inputs":[{"name":"bulkoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",14,{"inputs":[{"name":"bulkoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",14,{"inputs":[{"name":"bulkoperation"}],"output":{"name":"result"}}],[11,"from","","",9,{"inputs":[{"name":"actionresult"},{"name":"json"}],"output":{"name":"actionresult"}}],[11,"from","","",10,{"inputs":[{"name":"bulkresult"},{"name":"json"}],"output":{"name":"bulkresult"}}],[0,"delete","rs_es::operations","Implementation of delete operations, both Delete-By-Query and Delete-By-Id",null,null],[3,"DeleteOperation","rs_es::operations::delete","",null,null],[3,"DeleteByQueryOperation","","",null,null],[3,"DeleteResult","","Result of a DELETE operation",null,null],[12,"found","","",15,null],[12,"index","","",15,null],[12,"doc_type","","",15,null],[12,"id","","",15,null],[12,"version","","",15,null],[3,"DeleteByQueryIndexResult","","",null,null],[12,"shards","","",16,null],[3,"DeleteByQueryResult","","The result of a Delete-by-query request",null,null],[12,"indices","","",17,null],[11,"new","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"client"},{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"deleteoperation"}}],[11,"with_version","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_consistency","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",18,{"inputs":[{"name":"deleteoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",18,{"inputs":[{"name":"deleteoperation"}],"output":{"name":"result"}}],[11,"new","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"client"}],"output":{"name":"deletebyqueryoperation"}}],[11,"with_indexes","","",19,null],[11,"with_doc_types","","",19,null],[11,"with_query_string","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"string"}],"output":{"name":"self"}}],[11,"with_query","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"query"}],"output":{"name":"self"}}],[11,"with_df","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_consistency","","",19,{"inputs":[{"name":"deletebyqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",19,{"inputs":[{"name":"deletebyqueryoperation"}],"output":{"name":"result"}}],[11,"fmt","","",15,{"inputs":[{"name":"deleteresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",15,{"inputs":[{"name":"deleteresult"},{"name":"json"}],"output":{"name":"deleteresult"}}],[11,"fmt","","",16,{"inputs":[{"name":"deletebyqueryindexresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",16,{"inputs":[{"name":"deletebyqueryindexresult"},{"name":"json"}],"output":{"name":"deletebyqueryindexresult"}}],[11,"fmt","","",17,{"inputs":[{"name":"deletebyqueryresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"successful","","",17,{"inputs":[{"name":"deletebyqueryresult"}],"output":{"name":"bool"}}],[11,"from","","",17,{"inputs":[{"name":"deletebyqueryresult"},{"name":"json"}],"output":{"name":"deletebyqueryresult"}}],[0,"get","rs_es::operations","Implementation of the Get API",null,null],[3,"GetOperation","rs_es::operations::get","An ES GET operation, to get a document by ID",null,null],[3,"GetResult","","The result of a GET request",null,null],[12,"index","","",20,null],[12,"doc_type","","",20,null],[12,"id","","",20,null],[12,"version","","",20,null],[12,"found","","",20,null],[12,"source","","",20,null],[4,"Preference","","Values for the `preference` query parameter",null,null],[13,"Primary","","",21,null],[13,"Local","","",21,null],[11,"from","rs_es::operations::common","",7,{"inputs":[{"name":"optionval"},{"name":"preference"}],"output":{"name":"optionval"}}],[11,"new","rs_es::operations::get","",22,{"inputs":[{"name":"getoperation"},{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"getoperation"}}],[11,"with_all_types","","",22,{"inputs":[{"name":"getoperation"}],"output":{"name":"self"}}],[11,"with_doc_type","","",22,{"inputs":[{"name":"getoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_fields","","",22,null],[11,"with_realtime","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_source","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_preference","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",22,{"inputs":[{"name":"getoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",22,{"inputs":[{"name":"getoperation"}],"output":{"name":"result"}}],[11,"fmt","","",20,{"inputs":[{"name":"getresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"source","","The result is a JSON document, this function will attempt to decode it\nto a struct. If the raw JSON is required, it can accessed directly from\nthe source field of the `GetResult` struct.",20,{"inputs":[{"name":"getresult"}],"output":{"name":"result"}}],[11,"from","","",20,{"inputs":[{"name":"getresult"},{"name":"json"}],"output":{"name":"getresult"}}],[0,"index","rs_es::operations","Implementation of ElasticSearch Index operation",null,null],[3,"IndexOperation","rs_es::operations::index","An indexing operation",null,null],[3,"IndexResult","","The result of an index operation",null,null],[12,"index","","",23,null],[12,"doc_type","","",23,null],[12,"id","","",23,null],[12,"version","","",23,null],[12,"created","","",23,null],[4,"OpType","","Values for the op_type option",null,null],[13,"Create","","",24,null],[11,"from","rs_es::operations::common","",7,{"inputs":[{"name":"optionval"},{"name":"optype"}],"output":{"name":"optionval"}}],[11,"new","rs_es::operations::index","",25,{"inputs":[{"name":"indexoperation"},{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"indexoperation"}}],[11,"with_doc","","",25,{"inputs":[{"name":"indexoperation"},{"name":"e"}],"output":{"name":"self"}}],[11,"with_id","","",25,{"inputs":[{"name":"indexoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_ttl","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_version_type","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_op_type","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_parent","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timestamp","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_refresh","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",25,{"inputs":[{"name":"indexoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",25,{"inputs":[{"name":"indexoperation"}],"output":{"name":"result"}}],[11,"fmt","","",23,{"inputs":[{"name":"indexresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",23,{"inputs":[{"name":"indexresult"},{"name":"json"}],"output":{"name":"indexresult"}}],[0,"search","rs_es::operations","Implementations of both Search-by-URI and Search-by-Query operations",null,null],[3,"SearchURIOperation","rs_es::operations::search","Representing a search-by-uri option",null,null],[3,"SortField","","Representing sort options for a specific field, can be combined with others\nto produce the full sort clause",null,null],[3,"GeoDistance","","Representing sort options for sort by geodistance",null,null],[3,"Script","","Representing options for sort by script",null,null],[3,"Sort","","A full sort clause",null,null],[3,"SearchQueryOperation","","",null,null],[3,"SearchHitsHitsResult","","",null,null],[12,"index","","",26,null],[12,"doc_type","","",26,null],[12,"id","","",26,null],[12,"score","","",26,null],[12,"source","","",26,null],[12,"fields","","",26,null],[3,"SearchHitsResult","","",null,null],[12,"total","","",27,null],[12,"hits","","",27,null],[3,"SearchResult","","",null,null],[12,"took","","",28,null],[12,"timed_out","","",28,null],[12,"shards","","",28,null],[12,"hits","","",28,null],[3,"ScanIterator","","",null,null],[3,"ScanResult","","",null,null],[12,"took","","",29,null],[12,"timed_out","","",29,null],[12,"shards","","",29,null],[12,"hits","","",29,null],[4,"SearchType","","Options for the various search_type parameters",null,null],[13,"DFSQueryThenFetch","","",30,null],[13,"DFSQueryAndFetch","","",30,null],[13,"QueryThenFetch","","",30,null],[13,"QueryAndFetch","","",30,null],[4,"Order","","Order of a sort",null,null],[13,"Asc","","",31,null],[13,"Desc","","",31,null],[4,"Mode","","The (Sort mode option)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option].",null,null],[13,"Min","","",32,null],[13,"Max","","",32,null],[13,"Sum","","",32,null],[13,"Avg","","",32,null],[4,"Missing","","Options for handling (missing values)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_missing_values]",null,null],[13,"First","","",33,null],[13,"Last","","",33,null],[13,"Custom","","",33,null],[4,"SortBy","","",null,null],[13,"Field","","",34,null],[13,"Distance","","",34,null],[13,"Script","","",34,null],[11,"to_string","","",30,{"inputs":[{"name":"searchtype"}],"output":{"name":"string"}}],[11,"to_string","","",31,{"inputs":[{"name":"order"}],"output":{"name":"string"}}],[11,"to_json","","",31,{"inputs":[{"name":"order"}],"output":{"name":"json"}}],[11,"to_json","","",32,{"inputs":[{"name":"mode"}],"output":{"name":"json"}}],[11,"to_json","","",33,{"inputs":[{"name":"missing"}],"output":{"name":"json"}}],[11,"from","","",33,{"inputs":[{"name":"missing"},{"name":"s"}],"output":{"name":"missing"}}],[11,"new","","Create a `SortField` for a given `field` and `order`",35,{"inputs":[{"name":"sortfield"},{"name":"s"},{"name":"option"}],"output":{"name":"sortfield"}}],[11,"with_mode","","",35,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_nested_path","","",35,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_nested_filter","","",35,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_missing","","",35,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_unmapped_type","","",35,{"inputs":[{"name":"sortfield"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",35,{"inputs":[{"name":"sortfield"}],"output":{"name":"sortby"}}],[11,"to_string","","",35,{"inputs":[{"name":"sortfield"}],"output":{"name":"string"}}],[11,"to_json","","",35,{"inputs":[{"name":"sortfield"}],"output":{"name":"json"}}],[11,"new","","",36,{"inputs":[{"name":"geodistance"},{"name":"s"}],"output":{"name":"geodistance"}}],[11,"with_location","","",36,{"inputs":[{"name":"geodistance"},{"name":"l"}],"output":{"name":"self"}}],[11,"with_locations","","",36,{"inputs":[{"name":"geodistance"},{"name":"vec"}],"output":{"name":"self"}}],[11,"with_order","","",36,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_unit","","",36,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_mode","","",36,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_distance_type","","",36,{"inputs":[{"name":"geodistance"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",36,{"inputs":[{"name":"geodistance"}],"output":{"name":"sortby"}}],[11,"to_json","","",36,{"inputs":[{"name":"geodistance"}],"output":{"name":"json"}}],[11,"new","","",37,{"inputs":[{"name":"script"},{"name":"s"},{"name":"st"}],"output":{"name":"script"}}],[11,"with_order","","",37,{"inputs":[{"name":"script"},{"name":"t"}],"output":{"name":"self"}}],[11,"add_param","","",37,{"inputs":[{"name":"script"},{"name":"k"},{"name":"v"}],"output":{"name":"self"}}],[11,"build","","",37,{"inputs":[{"name":"script"}],"output":{"name":"sortby"}}],[11,"to_json","","",37,{"inputs":[{"name":"script"}],"output":{"name":"json"}}],[11,"to_string","","",34,{"inputs":[{"name":"sortby"}],"output":{"name":"string"}}],[11,"to_json","","",34,{"inputs":[{"name":"sortby"}],"output":{"name":"json"}}],[11,"new","","",38,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"field","","Convenience function for a single field default",38,{"inputs":[{"name":"sort"},{"name":"s"}],"output":{"name":"sort"}}],[11,"field_order","","",38,{"inputs":[{"name":"sort"},{"name":"s"},{"name":"order"}],"output":{"name":"sort"}}],[11,"fields","","",38,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"field_orders","","",38,{"inputs":[{"name":"sort"},{"name":"vec"}],"output":{"name":"sort"}}],[11,"from","rs_es::operations::common","",7,{"inputs":[{"name":"optionval"},{"name":"sort"}],"output":{"name":"optionval"}}],[11,"to_json","rs_es::operations::search","",38,{"inputs":[{"name":"sort"}],"output":{"name":"json"}}],[11,"new","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"client"}],"output":{"name":"searchurioperation"}}],[11,"with_indexes","","",39,null],[11,"with_types","","",39,null],[11,"with_query","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"s"}],"output":{"name":"self"}}],[11,"with_df","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyze_wildcard","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_explain","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_source","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_sort","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_routing","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_track_scores","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_timeout","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_terminate_after","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_from","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_size","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_search_type","","",39,{"inputs":[{"name":"searchurioperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fields","","",39,null],[11,"send","","",39,{"inputs":[{"name":"searchurioperation"}],"output":{"name":"result"}}],[11,"new","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"client"}],"output":{"name":"searchqueryoperation"}}],[11,"with_indexes","","",40,null],[11,"with_types","","",40,null],[11,"with_query","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"query"}],"output":{"name":"self"}}],[11,"with_timeout","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"str"}],"output":{"name":"self"}}],[11,"with_from","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_size","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_terminate_after","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"i64"}],"output":{"name":"self"}}],[11,"with_stats","","",40,null],[11,"with_min_score","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"f64"}],"output":{"name":"self"}}],[11,"with_sort","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"sort"}],"output":{"name":"self"}}],[11,"with_track_scores","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"bool"}],"output":{"name":"self"}}],[11,"with_routing","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_search_type","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_query_cache","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"t"}],"output":{"name":"self"}}],[11,"send","","",40,{"inputs":[{"name":"searchqueryoperation"}],"output":{"name":"result"}}],[11,"scan","","",40,{"inputs":[{"name":"searchqueryoperation"},{"name":"duration"}],"output":{"name":"result"}}],[11,"fmt","","",26,{"inputs":[{"name":"searchhitshitsresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"source","","Get the source document as a struct, the raw JSON version is available\ndirectly from the source field",26,{"inputs":[{"name":"searchhitshitsresult"}],"output":{"name":"result"}}],[11,"from","","",26,{"inputs":[{"name":"searchhitshitsresult"},{"name":"json"}],"output":{"name":"searchhitshitsresult"}}],[11,"fmt","","",27,{"inputs":[{"name":"searchhitsresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"hits","","",27,{"inputs":[{"name":"searchhitsresult"}],"output":{"name":"result"}}],[11,"from","","",27,{"inputs":[{"name":"searchhitsresult"},{"name":"json"}],"output":{"name":"searchhitsresult"}}],[11,"from","","",28,{"inputs":[{"name":"searchresult"},{"name":"json"}],"output":{"name":"searchresult"}}],[11,"drop","","",41,{"inputs":[{"name":"scaniterator"}],"output":null}],[6,"Item","","",null,null],[11,"next","","",41,{"inputs":[{"name":"scaniterator"}],"output":{"name":"option"}}],[11,"iter","","",29,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"scaniterator"}}],[11,"scroll","","",29,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"result"}}],[11,"close","","",29,{"inputs":[{"name":"scanresult"},{"name":"client"}],"output":{"name":"result"}}],[11,"new","rs_es::operations","",42,{"inputs":[{"name":"refreshoperation"},{"name":"client"}],"output":{"name":"refreshoperation"}}],[11,"with_indexes","","",42,null],[11,"send","","",42,{"inputs":[{"name":"refreshoperation"}],"output":{"name":"result"}}],[11,"decode","","",2,{"inputs":[{"name":"shardcountresult"},{"name":"__d"}],"output":{"name":"result"}}],[11,"fmt","","",2,{"inputs":[{"name":"shardcountresult"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",3,{"inputs":[{"name":"refreshresult"},{"name":"json"}],"output":{"name":"refreshresult"}}],[0,"query","rs_es","Implementation of the ElasticSearch Query DSL.",null,null],[3,"MatchAllQuery","rs_es::query","",null,null],[3,"MatchQuery","","",null,null],[3,"MultiMatchQuery","","",null,null],[3,"BoolQuery","","",null,null],[3,"BoostingQuery","","",null,null],[3,"CommonQuery","","",null,null],[3,"CombinationMinimumShouldMatch","","",null,null],[3,"ConstantScoreQuery","","",null,null],[3,"DisMaxQuery","","",null,null],[3,"FilteredQuery","","",null,null],[3,"FuzzyLikeThisQuery","","",null,null],[3,"FuzzyLikeThisFieldQuery","","",null,null],[3,"FunctionScoreQuery","","",null,null],[3,"FuzzyQuery","","",null,null],[3,"Shape","","",null,null],[3,"IndexedShape","","",null,null],[3,"GeoShapeQuery","","",null,null],[3,"HasChildQuery","","",null,null],[3,"HasParentQuery","","",null,null],[3,"IdsQuery","","",null,null],[3,"IndicesQuery","","",null,null],[3,"Doc","","",null,null],[3,"MoreLikeThisQuery","","",null,null],[3,"NestedQuery","","",null,null],[3,"PrefixQuery","","",null,null],[3,"QueryStringQuery","","",null,null],[3,"SimpleQueryStringQuery","","",null,null],[3,"RangeQuery","","",null,null],[3,"RegexpQuery","","",null,null],[3,"Flags","","",null,null],[3,"SpanFirstQuery","","",null,null],[3,"SpanMultiQuery","","",null,null],[3,"SpanNearQuery","","",null,null],[3,"SpanNotQuery","","",null,null],[3,"SpanOrQuery","","",null,null],[3,"SpanTermQuery","","",null,null],[3,"TermQuery","","",null,null],[3,"TermsQuery","","",null,null],[3,"WildcardQuery","","",null,null],[3,"AndFilter","","",null,null],[3,"BoolFilter","","",null,null],[3,"ExistsFilter","","",null,null],[3,"GeoBoundingBoxFilter","","",null,null],[3,"GeoDistanceFilter","","",null,null],[3,"Distance","","",null,null],[3,"GeoPolygonFilter","","",null,null],[3,"GeoShapeFilter","","",null,null],[3,"GeohashCellFilter","","",null,null],[3,"HasChildFilter","","",null,null],[3,"HasParentFilter","","",null,null],[3,"IdsFilter","","",null,null],[3,"IndicesFilter","","",null,null],[3,"MatchAllFilter","","",null,null],[3,"MissingFilter","","",null,null],[3,"NestedFilter","","",null,null],[3,"NotFilter","","",null,null],[3,"OrFilter","","",null,null],[3,"PrefixFilter","","",null,null],[3,"QueryFilter","","",null,null],[3,"RangeFilter","","",null,null],[3,"RegexpFilter","","",null,null],[3,"ScriptFilter","","",null,null],[3,"TermFilter","","",null,null],[3,"TermsFilter","","",null,null],[3,"TypeFilter","","",null,null],[3,"ScriptScoreFunc","","",null,null],[3,"RandomScoreFunc","","",null,null],[3,"FieldValueFactorFunc","","",null,null],[3,"LinearFunc","","",null,null],[3,"ExpFunc","","",null,null],[3,"GaussFunc","","",null,null],[3,"Function","","",null,null],[4,"Query","","",null,null],[13,"MatchAll","","",43,null],[13,"Match","","",43,null],[13,"MultiMatch","","",43,null],[13,"Bool","","",43,null],[13,"Boosting","","",43,null],[13,"Common","","",43,null],[13,"ConstantScore","","",43,null],[13,"DisMax","","",43,null],[13,"Filtered","","",43,null],[13,"FuzzyLikeThis","","",43,null],[13,"FuzzyLikeThisField","","",43,null],[13,"FunctionScore","","",43,null],[13,"Fuzzy","","",43,null],[13,"GeoShape","","",43,null],[13,"HasChild","","",43,null],[13,"HasParent","","",43,null],[13,"Ids","","",43,null],[13,"Indices","","",43,null],[13,"MoreLikeThis","","",43,null],[13,"Nested","","",43,null],[13,"Prefix","","",43,null],[13,"QueryString","","",43,null],[13,"SimpleQueryString","","",43,null],[13,"Range","","",43,null],[13,"Regexp","","",43,null],[13,"SpanFirst","","",43,null],[13,"SpanMulti","","",43,null],[13,"SpanNear","","",43,null],[13,"SpanNot","","",43,null],[13,"SpanOr","","",43,null],[13,"SpanTerm","","",43,null],[13,"Term","","",43,null],[13,"Terms","","",43,null],[13,"Wildcard","","",43,null],[4,"Filter","","",null,null],[13,"And","","",44,null],[13,"Bool","","",44,null],[13,"Exists","","",44,null],[13,"GeoBoundingBox","","",44,null],[13,"GeoDistance","","",44,null],[13,"GeoPolygon","","",44,null],[13,"GeoShape","","",44,null],[13,"GeohashCell","","",44,null],[13,"HasChild","","",44,null],[13,"HasParent","","",44,null],[13,"Ids","","",44,null],[13,"Indices","","",44,null],[13,"MatchAll","","",44,null],[13,"Missing","","",44,null],[13,"Nested","","",44,null],[13,"Not","","",44,null],[13,"Or","","",44,null],[13,"Prefix","","",44,null],[13,"Query","","",44,null],[13,"Range","","",44,null],[13,"Regexp","","",44,null],[13,"Script","","",44,null],[13,"Term","","",44,null],[13,"Terms","","",44,null],[13,"Type","","",44,null],[4,"ZeroTermsQuery","","",null,null],[13,"None","","",45,null],[13,"All","","",45,null],[4,"Fuzziness","","",null,null],[13,"Auto","","",46,null],[13,"LevenshteinDistance","","",46,null],[13,"Proportionate","","",46,null],[4,"MatchType","","",null,null],[13,"Phrase","","",47,null],[13,"PhrasePrefix","","",47,null],[4,"MatchQueryType","","",null,null],[13,"BestFields","","",48,null],[13,"MostFields","","",48,null],[13,"CrossFields","","",48,null],[13,"Phrase","","",48,null],[13,"PhrasePrefix","","",48,null],[4,"MinimumShouldMatch","","",null,null],[13,"Integer","","",49,null],[13,"Percentage","","",49,null],[13,"Combination","","",49,null],[13,"MultipleCombination","","",49,null],[13,"LowHigh","","",49,null],[4,"Strategy","","",null,null],[13,"LeapFrogQueryFirst","","",50,null],[13,"LeapFrogFilterFirst","","",50,null],[13,"QueryFirst","","",50,null],[13,"RandomAccess","","",50,null],[13,"RandomAccessAlways","","",50,null],[4,"ScoreMode","","",null,null],[13,"Multiply","","",51,null],[13,"Sum","","",51,null],[13,"Avg","","",51,null],[13,"First","","",51,null],[13,"Max","","",51,null],[13,"Min","","",51,null],[4,"BoostMode","","",null,null],[13,"Multiply","","",52,null],[13,"Replace","","",52,null],[13,"Sum","","",52,null],[13,"Avg","","",52,null],[13,"Max","","",52,null],[13,"Min","","",52,null],[4,"Rewrite","","",null,null],[13,"ConstantScoreAuto","","",53,null],[13,"ScoringBoolean","","",53,null],[13,"ConstantScoreBoolean","","",53,null],[13,"ConstantScoreFilter","","",53,null],[13,"TopTerms","","",53,null],[13,"TopTermsBoost","","",53,null],[4,"Flag","","",null,null],[13,"All","","",54,null],[13,"AnyString","","",54,null],[13,"Complement","","",54,null],[13,"Intersection","","",54,null],[13,"Interval","","",54,null],[13,"None","","",54,null],[4,"GeoBox","","",null,null],[13,"Corners","","",55,null],[13,"Vertices","","",55,null],[4,"OptimizeBbox","","",null,null],[13,"Memory","","",56,null],[13,"Indexed","","",56,null],[13,"None","","",56,null],[4,"Precision","","",null,null],[13,"Geohash","","",57,null],[13,"Distance","","",57,null],[4,"NoMatchFilter","","",null,null],[13,"None","","",58,null],[13,"All","","",58,null],[13,"Filter","","",58,null],[4,"Execution","","",null,null],[13,"Plain","","",59,null],[13,"Fielddata","","",59,null],[13,"Bool","","",59,null],[13,"BoolNocache","","",59,null],[13,"And","","",59,null],[13,"AndNocache","","",59,null],[13,"Or","","",59,null],[13,"OrNocache","","",59,null],[4,"Func","","",null,null],[13,"ScriptScore","","",60,null],[13,"RandomScore","","",60,null],[13,"FieldValueFactor","","",60,null],[13,"Linear","","",60,null],[13,"Exp","","",60,null],[13,"Gauss","","",60,null],[4,"Modifier","","",null,null],[13,"None","","",61,null],[13,"Log","","",61,null],[13,"Log1p","","",61,null],[13,"Log2p","","",61,null],[13,"Ln","","",61,null],[13,"Ln1p","","",61,null],[13,"Ln2p","","",61,null],[13,"Square","","",61,null],[13,"Sqrt","","",61,null],[13,"Reciprocal","","",61,null],[4,"MultiValueMode","","",null,null],[13,"Min","","",62,null],[13,"Max","","",62,null],[13,"Avg","","",62,null],[13,"Sum","","",62,null],[11,"from","alloc::boxed","",63,{"inputs":[{"name":"box"},{"name":"filter"}],"output":{"name":"box"}}],[11,"from","","",63,{"inputs":[{"name":"box"},{"name":"query"}],"output":{"name":"box"}}],[11,"build_match_all","rs_es::query","",43,{"inputs":[{"name":"query"}],"output":{"name":"matchallquery"}}],[11,"build_match","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"matchquery"}}],[11,"build_multi_match","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"multimatchquery"}}],[11,"build_bool","","",43,{"inputs":[{"name":"query"}],"output":{"name":"boolquery"}}],[11,"build_boosting","","",43,{"inputs":[{"name":"query"}],"output":{"name":"boostingquery"}}],[11,"build_common","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"commonquery"}}],[11,"build_constant_score","","",43,{"inputs":[{"name":"query"}],"output":{"name":"constantscorequery"}}],[11,"build_dis_max","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"dismaxquery"}}],[11,"build_filtered","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"filteredquery"}}],[11,"build_fuzzy_like_this","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"fuzzylikethisquery"}}],[11,"build_fuzzy_like_this_field","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"fuzzylikethisfieldquery"}}],[11,"build_function_score","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"functionscorequery"}}],[11,"build_fuzzy","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"fuzzyquery"}}],[11,"build_geo_shape","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"geoshapequery"}}],[11,"build_has_child","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"haschildquery"}}],[11,"build_has_parent","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"hasparentquery"}}],[11,"build_ids","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"idsquery"}}],[11,"build_indices","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"indicesquery"}}],[11,"build_more_like_this","","",43,{"inputs":[{"name":"query"}],"output":{"name":"morelikethisquery"}}],[11,"build_nested","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"nestedquery"}}],[11,"build_prefix","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"prefixquery"}}],[11,"build_query_string","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"querystringquery"}}],[11,"build_simple_query_string","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"simplequerystringquery"}}],[11,"build_range","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"rangequery"}}],[11,"build_regexp","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"regexpquery"}}],[11,"build_span_first","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spanfirstquery"}}],[11,"build_span_multi","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"spanmultiquery"}}],[11,"build_span_near","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spannearquery"}}],[11,"build_span_not","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spannotquery"}}],[11,"build_span_or","","",43,{"inputs":[{"name":"query"},{"name":"a"}],"output":{"name":"spanorquery"}}],[11,"build_span_term","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"spantermquery"}}],[11,"build_term","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"termquery"}}],[11,"build_terms","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"termsquery"}}],[11,"build_wildcard","","",43,{"inputs":[{"name":"query"},{"name":"a"},{"name":"b"}],"output":{"name":"wildcardquery"}}],[11,"to_json","","",43,{"inputs":[{"name":"query"}],"output":{"name":"json"}}],[11,"build_and","","",44,{"inputs":[{"name":"filter"}],"output":{"name":"andfilter"}}],[11,"build_bool","","",44,{"inputs":[{"name":"filter"}],"output":{"name":"boolfilter"}}],[11,"build_exists","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"existsfilter"}}],[11,"build_geo_bounding_box","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geoboundingboxfilter"}}],[11,"build_geo_distance","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"},{"name":"c"}],"output":{"name":"geodistancefilter"}}],[11,"build_geo_polygon","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geopolygonfilter"}}],[11,"build_geo_shape","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"geoshapefilter"}}],[11,"build_geohash_cell","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"geohashcellfilter"}}],[11,"build_has_child","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"haschildfilter"}}],[11,"build_has_parent","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"hasparentfilter"}}],[11,"build_ids","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"idsfilter"}}],[11,"build_indices","","",44,{"inputs":[{"name":"filter"}],"output":{"name":"indicesfilter"}}],[11,"build_match_all","","",44,{"inputs":[{"name":"filter"}],"output":{"name":"matchallfilter"}}],[11,"build_missing","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"missingfilter"}}],[11,"build_nested","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"nestedfilter"}}],[11,"build_not","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"notfilter"}}],[11,"build_or","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"orfilter"}}],[11,"build_prefix","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"prefixfilter"}}],[11,"build_query","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"queryfilter"}}],[11,"build_range","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"rangefilter"}}],[11,"build_regexp","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"regexpfilter"}}],[11,"build_script","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"scriptfilter"}}],[11,"build_term","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"termfilter"}}],[11,"build_terms","","",44,{"inputs":[{"name":"filter"},{"name":"a"},{"name":"b"}],"output":{"name":"termsfilter"}}],[11,"build_type","","",44,{"inputs":[{"name":"filter"},{"name":"a"}],"output":{"name":"typefilter"}}],[11,"to_json","","",44,{"inputs":[{"name":"filter"}],"output":{"name":"json"}}],[11,"clone","","",45,{"inputs":[{"name":"zerotermsquery"}],"output":{"name":"zerotermsquery"}}],[11,"to_json","","",45,{"inputs":[{"name":"zerotermsquery"}],"output":{"name":"json"}}],[11,"from","","",46,{"inputs":[{"name":"fuzziness"},{"name":"i64"}],"output":{"name":"fuzziness"}}],[11,"from","","",46,{"inputs":[{"name":"fuzziness"},{"name":"f64"}],"output":{"name":"fuzziness"}}],[11,"to_json","","",46,{"inputs":[{"name":"fuzziness"}],"output":{"name":"json"}}],[11,"clone","","",47,{"inputs":[{"name":"matchtype"}],"output":{"name":"matchtype"}}],[11,"to_json","","",47,{"inputs":[{"name":"matchtype"}],"output":{"name":"json"}}],[11,"clone","","",48,{"inputs":[{"name":"matchquerytype"}],"output":{"name":"matchquerytype"}}],[11,"to_json","","",48,{"inputs":[{"name":"matchquerytype"}],"output":{"name":"json"}}],[11,"with_boost","","",64,{"inputs":[{"name":"matchallquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",64,{"inputs":[{"name":"matchallquery"}],"output":{"name":"query"}}],[11,"to_json","","",64,{"inputs":[{"name":"matchallquery"}],"output":{"name":"json"}}],[11,"with_type","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cutoff_frequency","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_operator","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_zero_terms_query","","",65,{"inputs":[{"name":"matchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",65,{"inputs":[{"name":"matchquery"}],"output":{"name":"query"}}],[11,"to_json","","",65,{"inputs":[{"name":"matchquery"}],"output":{"name":"json"}}],[11,"with_use_dis_max","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_type","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_operator","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_zero_terms_query","","",66,{"inputs":[{"name":"multimatchquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",66,{"inputs":[{"name":"multimatchquery"}],"output":{"name":"query"}}],[11,"to_json","","",66,{"inputs":[{"name":"multimatchquery"}],"output":{"name":"json"}}],[11,"with_must","","",67,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_must_not","","",67,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_should","","",67,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",67,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",67,{"inputs":[{"name":"boolquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",67,{"inputs":[{"name":"boolquery"}],"output":{"name":"query"}}],[11,"to_json","","",67,{"inputs":[{"name":"boolquery"}],"output":{"name":"json"}}],[11,"with_positive","","",68,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_negative","","",68,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_negative_boost","","",68,{"inputs":[{"name":"boostingquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",68,{"inputs":[{"name":"boostingquery"}],"output":{"name":"query"}}],[11,"to_json","","",68,{"inputs":[{"name":"boostingquery"}],"output":{"name":"json"}}],[11,"with_cutoff_frequency","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_low_freq_operator","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_high_freq_operator","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_disable_coord","","",69,{"inputs":[{"name":"commonquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",69,{"inputs":[{"name":"commonquery"}],"output":{"name":"query"}}],[11,"fmt","","",70,{"inputs":[{"name":"combinationminimumshouldmatch"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","",70,{"inputs":[{"name":"combinationminimumshouldmatch"},{"name":"a"},{"name":"b"}],"output":{"name":"combinationminimumshouldmatch"}}],[11,"to_string","","",70,{"inputs":[{"name":"combinationminimumshouldmatch"}],"output":{"name":"string"}}],[11,"to_json","","",70,{"inputs":[{"name":"combinationminimumshouldmatch"}],"output":{"name":"json"}}],[11,"fmt","","",49,{"inputs":[{"name":"minimumshouldmatch"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"from","","",49,{"inputs":[{"name":"minimumshouldmatch"},{"name":"i64"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",49,{"inputs":[{"name":"minimumshouldmatch"},{"name":"f64"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",49,{"inputs":[{"name":"minimumshouldmatch"},{"name":"combinationminimumshouldmatch"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",49,{"inputs":[{"name":"minimumshouldmatch"},{"name":"vec"}],"output":{"name":"minimumshouldmatch"}}],[11,"from","","",49,null],[11,"to_string","","",49,{"inputs":[{"name":"minimumshouldmatch"}],"output":{"name":"string"}}],[11,"to_json","","",49,{"inputs":[{"name":"minimumshouldmatch"}],"output":{"name":"json"}}],[11,"to_json","","",69,{"inputs":[{"name":"commonquery"}],"output":{"name":"json"}}],[11,"with_filter","","",71,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_query","","",71,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",71,{"inputs":[{"name":"constantscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",71,{"inputs":[{"name":"constantscorequery"}],"output":{"name":"query"}}],[11,"to_json","","",71,{"inputs":[{"name":"constantscorequery"}],"output":{"name":"json"}}],[11,"with_tie_breaker","","",72,{"inputs":[{"name":"dismaxquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",72,{"inputs":[{"name":"dismaxquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",72,{"inputs":[{"name":"dismaxquery"}],"output":{"name":"query"}}],[11,"to_json","","",72,{"inputs":[{"name":"dismaxquery"}],"output":{"name":"json"}}],[11,"with_query","","",73,{"inputs":[{"name":"filteredquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_strategy","","",73,{"inputs":[{"name":"filteredquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",73,{"inputs":[{"name":"filteredquery"}],"output":{"name":"query"}}],[11,"from","","",50,{"inputs":[{"name":"strategy"},{"name":"i64"}],"output":{"name":"strategy"}}],[11,"to_json","","",50,{"inputs":[{"name":"strategy"}],"output":{"name":"json"}}],[11,"to_json","","",73,{"inputs":[{"name":"filteredquery"}],"output":{"name":"json"}}],[11,"with_fields","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ignore_tf","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",74,{"inputs":[{"name":"fuzzylikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",74,{"inputs":[{"name":"fuzzylikethisquery"}],"output":{"name":"query"}}],[11,"to_json","","",74,{"inputs":[{"name":"fuzzylikethisquery"}],"output":{"name":"json"}}],[11,"with_ignore_tf","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"}],"output":{"name":"query"}}],[11,"to_json","","",75,{"inputs":[{"name":"fuzzylikethisfieldquery"}],"output":{"name":"json"}}],[11,"with_query","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_boost","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_score_mode","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost_mode","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_score","","",76,{"inputs":[{"name":"functionscorequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",76,{"inputs":[{"name":"functionscorequery"}],"output":{"name":"query"}}],[11,"clone","","",51,{"inputs":[{"name":"scoremode"}],"output":{"name":"scoremode"}}],[11,"to_json","","",51,{"inputs":[{"name":"scoremode"}],"output":{"name":"json"}}],[11,"clone","","",52,{"inputs":[{"name":"boostmode"}],"output":{"name":"boostmode"}}],[11,"to_json","","",52,{"inputs":[{"name":"boostmode"}],"output":{"name":"json"}}],[11,"to_json","","",76,{"inputs":[{"name":"functionscorequery"}],"output":{"name":"json"}}],[11,"with_boost","","",77,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",77,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_prefix_length","","",77,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_expansions","","",77,{"inputs":[{"name":"fuzzyquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",77,{"inputs":[{"name":"fuzzyquery"}],"output":{"name":"query"}}],[11,"to_json","","",77,{"inputs":[{"name":"fuzzyquery"}],"output":{"name":"json"}}],[11,"new","","",78,{"inputs":[{"name":"shape"},{"name":"a"},{"name":"vec"}],"output":{"name":"shape"}}],[11,"to_json","","",78,{"inputs":[{"name":"shape"}],"output":{"name":"json"}}],[11,"new","","",79,{"inputs":[{"name":"indexedshape"},{"name":"a"},{"name":"b"},{"name":"c"},{"name":"d"}],"output":{"name":"indexedshape"}}],[11,"to_json","","",79,{"inputs":[{"name":"indexedshape"}],"output":{"name":"json"}}],[11,"with_shape","","",80,{"inputs":[{"name":"geoshapequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indexed_shape","","",80,{"inputs":[{"name":"geoshapequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",80,{"inputs":[{"name":"geoshapequery"}],"output":{"name":"query"}}],[11,"to_json","","",80,{"inputs":[{"name":"geoshapequery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",81,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_children","","",81,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_children","","",81,{"inputs":[{"name":"haschildquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",81,{"inputs":[{"name":"haschildquery"}],"output":{"name":"query"}}],[11,"to_json","","",81,{"inputs":[{"name":"haschildquery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",82,{"inputs":[{"name":"hasparentquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",82,{"inputs":[{"name":"hasparentquery"}],"output":{"name":"query"}}],[11,"to_json","","",82,{"inputs":[{"name":"hasparentquery"}],"output":{"name":"json"}}],[11,"with_type","","",83,{"inputs":[{"name":"idsquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",83,{"inputs":[{"name":"idsquery"}],"output":{"name":"query"}}],[11,"to_json","","",83,{"inputs":[{"name":"idsquery"}],"output":{"name":"json"}}],[11,"with_index","","",84,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indices","","",84,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_no_match_query","","",84,{"inputs":[{"name":"indicesquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",84,{"inputs":[{"name":"indicesquery"}],"output":{"name":"query"}}],[11,"to_json","","",84,{"inputs":[{"name":"indicesquery"}],"output":{"name":"json"}}],[11,"from_doc","","",85,{"inputs":[{"name":"doc"},{"name":"a"},{"name":"b"},{"name":"json"}],"output":{"name":"doc"}}],[11,"id","","",85,{"inputs":[{"name":"doc"},{"name":"a"},{"name":"b"},{"name":"c"}],"output":{"name":"doc"}}],[11,"to_json","","",85,{"inputs":[{"name":"doc"}],"output":{"name":"json"}}],[11,"with_fields","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_like_text","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_ids","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_docs","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_query_terms","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_term_freq","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_doc_freq","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_doc_freq","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_word_length","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_word_length","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_stop_words","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost_terms","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_include","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",86,{"inputs":[{"name":"morelikethisquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",86,{"inputs":[{"name":"morelikethisquery"}],"output":{"name":"query"}}],[11,"to_json","","",86,{"inputs":[{"name":"morelikethisquery"}],"output":{"name":"json"}}],[11,"with_score_mode","","",87,{"inputs":[{"name":"nestedquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",87,{"inputs":[{"name":"nestedquery"}],"output":{"name":"query"}}],[11,"to_json","","",87,{"inputs":[{"name":"nestedquery"}],"output":{"name":"json"}}],[11,"with_boost","","",88,{"inputs":[{"name":"prefixquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_rewrite","","",88,{"inputs":[{"name":"prefixquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",88,{"inputs":[{"name":"prefixquery"}],"output":{"name":"query"}}],[11,"to_json","","",53,{"inputs":[{"name":"rewrite"}],"output":{"name":"json"}}],[11,"to_json","","",88,{"inputs":[{"name":"prefixquery"}],"output":{"name":"json"}}],[11,"with_default_field","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_allow_leading_wildcard","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_enable_position_increments","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzzy_max_expansions","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzziness","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_fuzzy_prefix_length","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_phrase_slop","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyze_wildcard","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_auto_generate_phrase_queries","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_locale","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",89,{"inputs":[{"name":"querystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",89,{"inputs":[{"name":"querystringquery"}],"output":{"name":"query"}}],[11,"to_json","","",89,{"inputs":[{"name":"querystringquery"}],"output":{"name":"json"}}],[11,"with_fields","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_default_operator","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_analyzer","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lowercase_expanded_terms","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_locale","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lenient","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_minimum_should_match","","",90,{"inputs":[{"name":"simplequerystringquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",90,{"inputs":[{"name":"simplequerystringquery"}],"output":{"name":"query"}}],[11,"to_json","","",90,{"inputs":[{"name":"simplequerystringquery"}],"output":{"name":"json"}}],[11,"with_gte","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_gt","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lte","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lt","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_format","","",91,{"inputs":[{"name":"rangequery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",91,{"inputs":[{"name":"rangequery"}],"output":{"name":"query"}}],[11,"to_json","","",91,{"inputs":[{"name":"rangequery"}],"output":{"name":"json"}}],[11,"with_boost","","",92,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",92,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",92,{"inputs":[{"name":"regexpquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",92,{"inputs":[{"name":"regexpquery"}],"output":{"name":"query"}}],[11,"to_string","","",54,{"inputs":[{"name":"flag"}],"output":{"name":"string"}}],[11,"new","","",93,{"inputs":[{"name":"flags"}],"output":{"name":"flags"}}],[11,"add_flag","","",93,{"inputs":[{"name":"flags"},{"name":"flag"}],"output":{"name":"self"}}],[11,"to_json","","",93,{"inputs":[{"name":"flags"}],"output":{"name":"json"}}],[11,"to_json","","",92,{"inputs":[{"name":"regexpquery"}],"output":{"name":"json"}}],[11,"build","","",94,{"inputs":[{"name":"spanfirstquery"}],"output":{"name":"query"}}],[11,"to_json","","",94,{"inputs":[{"name":"spanfirstquery"}],"output":{"name":"json"}}],[11,"build","","",95,{"inputs":[{"name":"spanmultiquery"}],"output":{"name":"query"}}],[11,"to_json","","",95,{"inputs":[{"name":"spanmultiquery"}],"output":{"name":"json"}}],[11,"with_in_order","","",96,{"inputs":[{"name":"spannearquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_collect_payloads","","",96,{"inputs":[{"name":"spannearquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",96,{"inputs":[{"name":"spannearquery"}],"output":{"name":"query"}}],[11,"to_json","","",96,{"inputs":[{"name":"spannearquery"}],"output":{"name":"json"}}],[11,"with_pre","","",97,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_post","","",97,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_dist","","",97,{"inputs":[{"name":"spannotquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",97,{"inputs":[{"name":"spannotquery"}],"output":{"name":"query"}}],[11,"to_json","","",97,{"inputs":[{"name":"spannotquery"}],"output":{"name":"json"}}],[11,"build","","",98,{"inputs":[{"name":"spanorquery"}],"output":{"name":"query"}}],[11,"to_json","","",98,{"inputs":[{"name":"spanorquery"}],"output":{"name":"json"}}],[11,"with_boost","","",99,{"inputs":[{"name":"spantermquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",99,{"inputs":[{"name":"spantermquery"}],"output":{"name":"query"}}],[11,"to_json","","",99,{"inputs":[{"name":"spantermquery"}],"output":{"name":"json"}}],[11,"with_boost","","",100,{"inputs":[{"name":"termquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",100,{"inputs":[{"name":"termquery"}],"output":{"name":"query"}}],[11,"to_json","","",100,{"inputs":[{"name":"termquery"}],"output":{"name":"json"}}],[11,"with_minimum_should_match","","",101,{"inputs":[{"name":"termsquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",101,{"inputs":[{"name":"termsquery"}],"output":{"name":"query"}}],[11,"to_json","","",101,{"inputs":[{"name":"termsquery"}],"output":{"name":"json"}}],[11,"with_boost","","",102,{"inputs":[{"name":"wildcardquery"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",102,{"inputs":[{"name":"wildcardquery"}],"output":{"name":"query"}}],[11,"to_json","","",102,{"inputs":[{"name":"wildcardquery"}],"output":{"name":"json"}}],[11,"with_filters","","",103,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",103,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",103,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",103,{"inputs":[{"name":"andfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",103,{"inputs":[{"name":"andfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",103,{"inputs":[{"name":"andfilter"}],"output":{"name":"json"}}],[11,"with_must","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_must_not","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_should","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",104,{"inputs":[{"name":"boolfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",104,{"inputs":[{"name":"boolfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",104,{"inputs":[{"name":"boolfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",105,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",105,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",105,{"inputs":[{"name":"existsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",105,{"inputs":[{"name":"existsfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",105,{"inputs":[{"name":"existsfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",106,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",106,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",106,{"inputs":[{"name":"geoboundingboxfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",106,{"inputs":[{"name":"geoboundingboxfilter"}],"output":{"name":"filter"}}],[11,"from","","",55,null],[11,"from","","",55,null],[11,"from","","",55,null],[11,"to_json","","",55,{"inputs":[{"name":"geobox"}],"output":{"name":"json"}}],[11,"to_json","","",106,{"inputs":[{"name":"geoboundingboxfilter"}],"output":{"name":"json"}}],[11,"with_distance_type","","",107,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_optimize_bbox","","",107,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",107,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",107,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",107,{"inputs":[{"name":"geodistancefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",107,{"inputs":[{"name":"geodistancefilter"}],"output":{"name":"filter"}}],[11,"new","","",108,{"inputs":[{"name":"distance"},{"name":"f64"},{"name":"distanceunit"}],"output":{"name":"distance"}}],[11,"to_json","","",108,{"inputs":[{"name":"distance"}],"output":{"name":"json"}}],[11,"clone","","",56,{"inputs":[{"name":"optimizebbox"}],"output":{"name":"optimizebbox"}}],[11,"to_json","","",56,{"inputs":[{"name":"optimizebbox"}],"output":{"name":"json"}}],[11,"to_json","","",107,{"inputs":[{"name":"geodistancefilter"}],"output":{"name":"json"}}],[11,"with_cache","","",109,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",109,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",109,{"inputs":[{"name":"geopolygonfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",109,{"inputs":[{"name":"geopolygonfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",109,{"inputs":[{"name":"geopolygonfilter"}],"output":{"name":"json"}}],[11,"with_shape","","",110,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indexed_shape","","",110,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",110,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",110,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",110,{"inputs":[{"name":"geoshapefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",110,{"inputs":[{"name":"geoshapefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",110,{"inputs":[{"name":"geoshapefilter"}],"output":{"name":"json"}}],[11,"with_precision","","",111,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_neighbors","","",111,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",111,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",111,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",111,{"inputs":[{"name":"geohashcellfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",111,{"inputs":[{"name":"geohashcellfilter"}],"output":{"name":"filter"}}],[11,"from","","",57,{"inputs":[{"name":"precision"},{"name":"i64"}],"output":{"name":"precision"}}],[11,"from","","",57,{"inputs":[{"name":"precision"},{"name":"distance"}],"output":{"name":"precision"}}],[11,"to_json","","",57,{"inputs":[{"name":"precision"}],"output":{"name":"json"}}],[11,"to_json","","",111,{"inputs":[{"name":"geohashcellfilter"}],"output":{"name":"json"}}],[11,"with_query","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_min_children","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_children","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",112,{"inputs":[{"name":"haschildfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",112,{"inputs":[{"name":"haschildfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",112,{"inputs":[{"name":"haschildfilter"}],"output":{"name":"json"}}],[11,"with_query","","",113,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",113,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",113,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",113,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",113,{"inputs":[{"name":"hasparentfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",113,{"inputs":[{"name":"hasparentfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",113,{"inputs":[{"name":"hasparentfilter"}],"output":{"name":"json"}}],[11,"with_type","","",114,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",114,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",114,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",114,{"inputs":[{"name":"idsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",114,{"inputs":[{"name":"idsfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",114,{"inputs":[{"name":"idsfilter"}],"output":{"name":"json"}}],[11,"with_index","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_indices","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_filter","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_no_match_filter","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",115,{"inputs":[{"name":"indicesfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",115,{"inputs":[{"name":"indicesfilter"}],"output":{"name":"filter"}}],[11,"from","","",58,{"inputs":[{"name":"nomatchfilter"},{"name":"filter"}],"output":{"name":"nomatchfilter"}}],[11,"to_json","","",58,{"inputs":[{"name":"nomatchfilter"}],"output":{"name":"json"}}],[11,"to_json","","",115,{"inputs":[{"name":"indicesfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",116,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",116,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",116,{"inputs":[{"name":"matchallfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",116,{"inputs":[{"name":"matchallfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",116,{"inputs":[{"name":"matchallfilter"}],"output":{"name":"json"}}],[11,"with_existence","","",117,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_null_value","","",117,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",117,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",117,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",117,{"inputs":[{"name":"missingfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",117,{"inputs":[{"name":"missingfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",117,{"inputs":[{"name":"missingfilter"}],"output":{"name":"json"}}],[11,"with_score_mode","","",118,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_join","","",118,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",118,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",118,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",118,{"inputs":[{"name":"nestedfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",118,{"inputs":[{"name":"nestedfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",118,{"inputs":[{"name":"nestedfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",119,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",119,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",119,{"inputs":[{"name":"notfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",119,{"inputs":[{"name":"notfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",119,{"inputs":[{"name":"notfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",120,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",120,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",120,{"inputs":[{"name":"orfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",120,{"inputs":[{"name":"orfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",120,{"inputs":[{"name":"orfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",121,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",121,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",121,{"inputs":[{"name":"prefixfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",121,{"inputs":[{"name":"prefixfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",121,{"inputs":[{"name":"prefixfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",122,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",122,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",122,{"inputs":[{"name":"queryfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",122,{"inputs":[{"name":"queryfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",122,{"inputs":[{"name":"queryfilter"}],"output":{"name":"json"}}],[11,"with_gte","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_gt","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lte","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_lt","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_boost","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_time_zone","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_format","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",123,{"inputs":[{"name":"rangefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",123,{"inputs":[{"name":"rangefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",123,{"inputs":[{"name":"rangefilter"}],"output":{"name":"json"}}],[11,"with_boost","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_flags","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_max_determined_states","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",124,{"inputs":[{"name":"regexpfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",124,{"inputs":[{"name":"regexpfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",124,{"inputs":[{"name":"regexpfilter"}],"output":{"name":"json"}}],[11,"with_params","","",125,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",125,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",125,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",125,{"inputs":[{"name":"scriptfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",125,{"inputs":[{"name":"scriptfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",125,{"inputs":[{"name":"scriptfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",126,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",126,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",126,{"inputs":[{"name":"termfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",126,{"inputs":[{"name":"termfilter"}],"output":{"name":"filter"}}],[11,"to_json","","",126,{"inputs":[{"name":"termfilter"}],"output":{"name":"json"}}],[11,"with_execution","","",127,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache","","",127,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",127,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",127,{"inputs":[{"name":"termsfilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",127,{"inputs":[{"name":"termsfilter"}],"output":{"name":"filter"}}],[11,"clone","","",59,{"inputs":[{"name":"execution"}],"output":{"name":"execution"}}],[11,"to_json","","",59,{"inputs":[{"name":"execution"}],"output":{"name":"json"}}],[11,"to_json","","",127,{"inputs":[{"name":"termsfilter"}],"output":{"name":"json"}}],[11,"with_cache","","",128,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_cache_key","","",128,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_name","","",128,{"inputs":[{"name":"typefilter"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",128,{"inputs":[{"name":"typefilter"}],"output":{"name":"filter"}}],[11,"to_json","","",128,{"inputs":[{"name":"typefilter"}],"output":{"name":"json"}}],[11,"build_script_score","","",60,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"scriptscorefunc"}}],[11,"build_random_score","","",60,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"randomscorefunc"}}],[11,"build_field_value_factor","","",60,{"inputs":[{"name":"func"},{"name":"a"}],"output":{"name":"fieldvaluefactorfunc"}}],[11,"build_linear","","",60,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"linearfunc"}}],[11,"build_exp","","",60,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"expfunc"}}],[11,"build_gauss","","",60,{"inputs":[{"name":"func"},{"name":"a"},{"name":"b"}],"output":{"name":"gaussfunc"}}],[11,"to_json","","",60,{"inputs":[{"name":"func"}],"output":{"name":"json"}}],[11,"with_lang","","",129,{"inputs":[{"name":"scriptscorefunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_params","","",129,{"inputs":[{"name":"scriptscorefunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",129,{"inputs":[{"name":"scriptscorefunc"}],"output":{"name":"func"}}],[11,"to_json","","",129,{"inputs":[{"name":"scriptscorefunc"}],"output":{"name":"json"}}],[11,"build","","",130,{"inputs":[{"name":"randomscorefunc"}],"output":{"name":"func"}}],[11,"to_json","","",130,{"inputs":[{"name":"randomscorefunc"}],"output":{"name":"json"}}],[11,"with_factor","","",131,{"inputs":[{"name":"fieldvaluefactorfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_modifier","","",131,{"inputs":[{"name":"fieldvaluefactorfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",131,{"inputs":[{"name":"fieldvaluefactorfunc"}],"output":{"name":"func"}}],[11,"clone","","",61,{"inputs":[{"name":"modifier"}],"output":{"name":"modifier"}}],[11,"to_json","","",61,{"inputs":[{"name":"modifier"}],"output":{"name":"json"}}],[11,"to_json","","",131,{"inputs":[{"name":"fieldvaluefactorfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",132,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",132,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",132,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",132,{"inputs":[{"name":"linearfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",132,{"inputs":[{"name":"linearfunc"}],"output":{"name":"func"}}],[11,"clone","","",62,{"inputs":[{"name":"multivaluemode"}],"output":{"name":"multivaluemode"}}],[11,"to_json","","",62,{"inputs":[{"name":"multivaluemode"}],"output":{"name":"json"}}],[11,"to_json","","",132,{"inputs":[{"name":"linearfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",133,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",133,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",133,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",133,{"inputs":[{"name":"expfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",133,{"inputs":[{"name":"expfunc"}],"output":{"name":"func"}}],[11,"to_json","","",133,{"inputs":[{"name":"expfunc"}],"output":{"name":"json"}}],[11,"with_scale","","",134,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_offset","","",134,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_decay","","",134,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"with_multi_value_mode","","",134,{"inputs":[{"name":"gaussfunc"},{"name":"t"}],"output":{"name":"self"}}],[11,"build","","",134,{"inputs":[{"name":"gaussfunc"}],"output":{"name":"func"}}],[11,"to_json","","",134,{"inputs":[{"name":"gaussfunc"}],"output":{"name":"json"}}],[11,"new","","",135,{"inputs":[{"name":"function"},{"name":"func"}],"output":{"name":"function"}}],[11,"with_filter","","",135,{"inputs":[{"name":"function"},{"name":"filter"}],"output":{"name":"function"}}],[11,"with_weight","","",135,{"inputs":[{"name":"function"},{"name":"f64"}],"output":{"name":"function"}}],[11,"to_json","","",135,{"inputs":[{"name":"function"}],"output":{"name":"json"}}],[0,"units","rs_es","Various re-occuring types that are used by the ElasticSearch API.",null,null],[3,"Duration","rs_es::units","A time-period unit, will be formatted into the ElasticSearch standard format",null,null],[4,"DurationUnit","","The units by which duration is measured.",null,null],[13,"Week","","",136,null],[13,"Day","","",136,null],[13,"Hour","","",136,null],[13,"Minute","","",136,null],[4,"Location","","Representing a geographic location",null,null],[13,"LatLon","","",137,null],[13,"GeoHash","","",137,null],[4,"OneOrMany","","A non-specific holder for an option which can either be a single thing, or\nmultiple instances of that thing.",null,null],[13,"One","","",138,null],[13,"Many","","",138,null],[4,"DistanceType","","DistanceType",null,null],[13,"SloppyArc","","",139,null],[13,"Arc","","",139,null],[13,"Plane","","",139,null],[4,"DistanceUnit","","DistanceUnit",null,null],[13,"Mile","","",140,null],[13,"Yard","","",140,null],[13,"Feet","","",140,null],[13,"Inch","","",140,null],[13,"Kilometer","","",140,null],[13,"Meter","","",140,null],[13,"Centimeter","","",140,null],[13,"Millimeter","","",140,null],[13,"NauticalMile","","",140,null],[4,"JsonVal","","",null,null],[13,"String","","",141,null],[13,"I64","","",141,null],[13,"F64","","",141,null],[11,"fmt","","",136,{"inputs":[{"name":"durationunit"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"to_string","","",136,{"inputs":[{"name":"durationunit"}],"output":{"name":"string"}}],[11,"fmt","","",142,{"inputs":[{"name":"duration"},{"name":"formatter"}],"output":{"name":"result"}}],[11,"new","","",142,{"inputs":[{"name":"duration"},{"name":"i64"},{"name":"durationunit"}],"output":{"name":"duration"}}],[11,"to_string","","",142,{"inputs":[{"name":"duration"}],"output":{"name":"string"}}],[11,"to_json","","",142,{"inputs":[{"name":"duration"}],"output":{"name":"json"}}],[11,"from","rs_es::operations::common","",7,{"inputs":[{"name":"optionval"},{"name":"duration"}],"output":{"name":"optionval"}}],[11,"from","","",7,{"inputs":[{"name":"optionval"},{"name":"duration"}],"output":{"name":"optionval"}}],[11,"from","rs_es::units","",137,null],[11,"from","","",137,{"inputs":[{"name":"location"},{"name":"string"}],"output":{"name":"location"}}],[11,"to_json","","",137,{"inputs":[{"name":"location"}],"output":{"name":"json"}}],[11,"from","","",138,{"inputs":[{"name":"oneormany"},{"name":"t"}],"output":{"name":"oneormany"}}],[11,"from","","",138,{"inputs":[{"name":"oneormany"},{"name":"vec"}],"output":{"name":"oneormany"}}],[11,"to_json","","",138,{"inputs":[{"name":"oneormany"}],"output":{"name":"json"}}],[11,"to_json","","",139,{"inputs":[{"name":"distancetype"}],"output":{"name":"json"}}],[11,"to_string","","",140,{"inputs":[{"name":"distanceunit"}],"output":{"name":"string"}}],[11,"to_json","","",140,{"inputs":[{"name":"distanceunit"}],"output":{"name":"json"}}],[11,"to_json","","",141,{"inputs":[{"name":"jsonval"}],"output":{"name":"json"}}],[11,"from","","",141,{"inputs":[{"name":"jsonval"},{"name":"string"}],"output":{"name":"jsonval"}}],[11,"from","","",141,{"inputs":[{"name":"jsonval"},{"name":"str"}],"output":{"name":"jsonval"}}],[11,"from","","",141,{"inputs":[{"name":"jsonval"},{"name":"f64"}],"output":{"name":"jsonval"}}],[11,"from","","",141,{"inputs":[{"name":"jsonval"},{"name":"i64"}],"output":{"name":"jsonval"}}],[11,"new","rs_es","Create a new client",143,{"inputs":[{"name":"client"},{"name":"str"},{"name":"u32"}],"output":{"name":"client"}}],[11,"full_url","","Take a nearly complete ElasticSearch URL, and stick the host/port part\non the front.",143,{"inputs":[{"name":"client"},{"name":"str"}],"output":{"name":"string"}}],[11,"version","","Calls the base ES path, returning the version number",143,{"inputs":[{"name":"client"}],"output":{"name":"result"}}],[11,"refresh","","Refresh",143,{"inputs":[{"name":"client"}],"output":{"name":"refreshoperation"}}],[11,"index","","An index operation to index a document in the specified index.",143,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"indexoperation"}}],[11,"get","","Implementation of the ES GET API",143,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"}],"output":{"name":"getoperation"}}],[11,"delete","","Delete by ID",143,{"inputs":[{"name":"client"},{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"deleteoperation"}}],[11,"delete_by_query","","Delete by query",143,{"inputs":[{"name":"client"}],"output":{"name":"deletebyqueryoperation"}}],[11,"bulk","","Bulk",143,null],[11,"search_uri","","Search via the query parameter",143,{"inputs":[{"name":"client"}],"output":{"name":"searchurioperation"}}],[11,"search_query","","Search via the query DSL",143,{"inputs":[{"name":"client"}],"output":{"name":"searchqueryoperation"}}]],"paths":[[8,"StrJoin"],[4,"EsError"],[3,"ShardCountResult"],[3,"RefreshResult"],[4,"VersionType"],[4,"Consistency"],[4,"DefaultOperator"],[3,"OptionVal"],[3,"Options"],[3,"ActionResult"],[3,"BulkResult"],[4,"ActionType"],[3,"ActionSource"],[3,"Action"],[3,"BulkOperation"],[3,"DeleteResult"],[3,"DeleteByQueryIndexResult"],[3,"DeleteByQueryResult"],[3,"DeleteOperation"],[3,"DeleteByQueryOperation"],[3,"GetResult"],[4,"Preference"],[3,"GetOperation"],[3,"IndexResult"],[4,"OpType"],[3,"IndexOperation"],[3,"SearchHitsHitsResult"],[3,"SearchHitsResult"],[3,"SearchResult"],[3,"ScanResult"],[4,"SearchType"],[4,"Order"],[4,"Mode"],[4,"Missing"],[4,"SortBy"],[3,"SortField"],[3,"GeoDistance"],[3,"Script"],[3,"Sort"],[3,"SearchURIOperation"],[3,"SearchQueryOperation"],[3,"ScanIterator"],[3,"RefreshOperation"],[4,"Query"],[4,"Filter"],[4,"ZeroTermsQuery"],[4,"Fuzziness"],[4,"MatchType"],[4,"MatchQueryType"],[4,"MinimumShouldMatch"],[4,"Strategy"],[4,"ScoreMode"],[4,"BoostMode"],[4,"Rewrite"],[4,"Flag"],[4,"GeoBox"],[4,"OptimizeBbox"],[4,"Precision"],[4,"NoMatchFilter"],[4,"Execution"],[4,"Func"],[4,"Modifier"],[4,"MultiValueMode"],[3,"Box"],[3,"MatchAllQuery"],[3,"MatchQuery"],[3,"MultiMatchQuery"],[3,"BoolQuery"],[3,"BoostingQuery"],[3,"CommonQuery"],[3,"CombinationMinimumShouldMatch"],[3,"ConstantScoreQuery"],[3,"DisMaxQuery"],[3,"FilteredQuery"],[3,"FuzzyLikeThisQuery"],[3,"FuzzyLikeThisFieldQuery"],[3,"FunctionScoreQuery"],[3,"FuzzyQuery"],[3,"Shape"],[3,"IndexedShape"],[3,"GeoShapeQuery"],[3,"HasChildQuery"],[3,"HasParentQuery"],[3,"IdsQuery"],[3,"IndicesQuery"],[3,"Doc"],[3,"MoreLikeThisQuery"],[3,"NestedQuery"],[3,"PrefixQuery"],[3,"QueryStringQuery"],[3,"SimpleQueryStringQuery"],[3,"RangeQuery"],[3,"RegexpQuery"],[3,"Flags"],[3,"SpanFirstQuery"],[3,"SpanMultiQuery"],[3,"SpanNearQuery"],[3,"SpanNotQuery"],[3,"SpanOrQuery"],[3,"SpanTermQuery"],[3,"TermQuery"],[3,"TermsQuery"],[3,"WildcardQuery"],[3,"AndFilter"],[3,"BoolFilter"],[3,"ExistsFilter"],[3,"GeoBoundingBoxFilter"],[3,"GeoDistanceFilter"],[3,"Distance"],[3,"GeoPolygonFilter"],[3,"GeoShapeFilter"],[3,"GeohashCellFilter"],[3,"HasChildFilter"],[3,"HasParentFilter"],[3,"IdsFilter"],[3,"IndicesFilter"],[3,"MatchAllFilter"],[3,"MissingFilter"],[3,"NestedFilter"],[3,"NotFilter"],[3,"OrFilter"],[3,"PrefixFilter"],[3,"QueryFilter"],[3,"RangeFilter"],[3,"RegexpFilter"],[3,"ScriptFilter"],[3,"TermFilter"],[3,"TermsFilter"],[3,"TypeFilter"],[3,"ScriptScoreFunc"],[3,"RandomScoreFunc"],[3,"FieldValueFactorFunc"],[3,"LinearFunc"],[3,"ExpFunc"],[3,"GaussFunc"],[3,"Function"],[4,"DurationUnit"],[4,"Location"],[4,"OneOrMany"],[4,"DistanceType"],[4,"DistanceUnit"],[4,"JsonVal"],[3,"Duration"],[3,"Client"]]}; initSearch(searchIndex); diff --git a/rs-es/src/rs_es/lib.rs.html b/rs-es/src/rs_es/lib.rs.html index 57b63c9..9f4915b 100644 --- a/rs-es/src/rs_es/lib.rs.html +++ b/rs-es/src/rs_es/lib.rs.html @@ -752,7 +752,7 @@ let json = result.unwrap(); match json.find_path(&["version", "number"]) { Some(version) => match version.as_string() { - Some(string) => Ok(string.to_string()), + Some(string) => Ok(string.to_owned()), None => Err(EsError::EsError(format!("Cannot find version number in: {:?}", json))) }, @@ -857,7 +857,7 @@ pub fn make_client() -> Client { let hostname = match env::var("ES_HOST") { Ok(val) => val, - Err(_) => "localhost".to_string() + Err(_) => "localhost".to_owned() }; Client::new(&hostname, 9200) } @@ -871,13 +871,13 @@ impl TestDocument { pub fn new() -> TestDocument { TestDocument { - str_field: "I am a test".to_string(), + str_field: "I am a test".to_owned(), int_field: 1 } } pub fn with_str_field(mut self, s: &str) -> TestDocument { - self.str_field = s.to_string(); + self.str_field = s.to_owned(); self } @@ -890,8 +890,8 @@ impl ToJson for TestDocument { fn to_json(&self) -> Json { let mut d = BTreeMap::new(); - d.insert("str_field".to_string(), self.str_field.to_json()); - d.insert("int_field".to_string(), self.int_field.to_json()); + d.insert("str_field".to_owned(), self.str_field.to_json()); + d.insert("int_field".to_owned(), self.int_field.to_json()); Json::Object(d) } } @@ -927,7 +927,7 @@ let result_wrapped = client .index(index_name, "test_type") .with_doc(&TestDocument::new().with_int_field(1)) - .with_ttl(&927500) + .with_ttl(927500) .send(); info!("TEST RESULT: {:?}", result_wrapped); let result = result_wrapped.unwrap(); @@ -945,7 +945,7 @@ .index(index_name, "test_type") .with_doc(&TestDocument::new().with_int_field(2)) .with_id("TEST_INDEXING_2") - .with_op_type(&OpType::Create) + .with_op_type(OpType::Create) .send(); let result = result_wrapped.unwrap(); @@ -1051,7 +1051,7 @@ let doc_a = client .search_uri() .with_indexes(&[index_name]) - .with_query("A123".to_string()) + .with_query("A123") .send() .unwrap(); assert_eq!(1, doc_a.hits.total); @@ -1059,7 +1059,7 @@ let doc_1 = client .search_uri() .with_indexes(&[index_name]) - .with_query("str_field:1ABC".to_string()) + .with_query("str_field:1ABC") .send() .unwrap(); assert_eq!(1, doc_1.hits.total); @@ -1067,7 +1067,7 @@ let limited_fields = client .search_uri() .with_indexes(&[index_name]) - .with_query("str_field:B456".to_string()) + .with_query("str_field:B456") .with_fields(&["int_field"]) .send() .unwrap(); diff --git a/rs-es/src/rs_es/operations/bulk.rs.html b/rs-es/src/rs_es/operations/bulk.rs.html index 504d928..2fdf2cc 100644 --- a/rs-es/src/rs_es/operations/bulk.rs.html +++ b/rs-es/src/rs_es/operations/bulk.rs.html @@ -473,7 +473,7 @@ use ::error::EsError; use ::units::Duration; -use super::common::{Options, VersionType}; +use super::common::{Options, OptionVal, VersionType}; use super::format_query_string; pub struct ActionSource { @@ -550,7 +550,7 @@ ActionType::Create => "create", ActionType::Delete => "delete", ActionType::Update => "update" - }.to_string() + }.to_owned() } } diff --git a/rs-es/src/rs_es/operations/common.rs.html b/rs-es/src/rs_es/operations/common.rs.html index 6daeea9..b07ff7c 100644 --- a/rs-es/src/rs_es/operations/common.rs.html +++ b/rs-es/src/rs_es/operations/common.rs.html @@ -40,78 +40,150 @@ -
 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-64
-65
-66
-67
-68
-69
-70
-71
-72
+    
  1
+  2
+  3
+  4
+  5
+  6
+  7
+  8
+  9
+ 10
+ 11
+ 12
+ 13
+ 14
+ 15
+ 16
+ 17
+ 18
+ 19
+ 20
+ 21
+ 22
+ 23
+ 24
+ 25
+ 26
+ 27
+ 28
+ 29
+ 30
+ 31
+ 32
+ 33
+ 34
+ 35
+ 36
+ 37
+ 38
+ 39
+ 40
+ 41
+ 42
+ 43
+ 44
+ 45
+ 46
+ 47
+ 48
+ 49
+ 50
+ 51
+ 52
+ 53
+ 54
+ 55
+ 56
+ 57
+ 58
+ 59
+ 60
+ 61
+ 62
+ 63
+ 64
+ 65
+ 66
+ 67
+ 68
+ 69
+ 70
+ 71
+ 72
+ 73
+ 74
+ 75
+ 76
+ 77
+ 78
+ 79
+ 80
+ 81
+ 82
+ 83
+ 84
+ 85
+ 86
+ 87
+ 88
+ 89
+ 90
+ 91
+ 92
+ 93
+ 94
+ 95
+ 96
+ 97
+ 98
+ 99
+100
+101
+102
+103
+104
+105
+106
+107
+108
+109
+110
+111
+112
+113
+114
+115
+116
+117
+118
+119
+120
+121
+122
+123
+124
+125
+126
+127
+128
+129
+130
+131
+132
+133
+134
+135
+136
+137
+138
+139
+140
+141
+142
+143
+144
 
 /*
  * Copyright 2015 Ben Ashford
@@ -133,15 +205,53 @@
 
 use rustc_serialize::json::{Json, ToJson};
 
+/// A newtype for the value of a URI option, this is to allow conversion traits
+/// to be implemented for it
+pub struct OptionVal(pub String);
+
+/// Conversion from `&str` to `OptionVal`
+impl<'a> From<&'a str> for OptionVal {
+    fn from(from: &'a str) -> OptionVal {
+        OptionVal(from.to_owned())
+    }
+}
+
+/// Basic types have conversions to `OptionVal`
+from_exp!(String, OptionVal, from, OptionVal(from));
+from_exp!(i64, OptionVal, from, OptionVal(from.to_string()));
+from_exp!(bool, OptionVal, from, OptionVal(from.to_string()));
+
 /// Every ES operation has a set of options
-pub type Options<'a> = Vec<(&'a str, String)>;
+pub struct Options<'a>(pub Vec<(&'a str, OptionVal)>);
+
+impl<'a> Options<'a> {
+    pub fn new() -> Options<'a> {
+        Options(Vec::new())
+    }
+
+    pub fn is_empty(&self) -> bool {
+        self.0.is_empty()
+    }
+
+    /// Add a value
+    ///
+    /// ```
+    /// use rs_es::operations::common::Options;
+    /// let mut options = Options::new();
+    /// options.push("a", 1);
+    /// options.push("b", "2");
+    /// ```
+    pub fn push<O: Into<OptionVal>>(&mut self, key: &'a str, val: O) {
+        self.0.push((key, val.into()));
+    }
+}
 
 /// Adds a function to an operation to add specific query-string options to that
 /// operations builder interface.
 macro_rules! add_option {
     ($n:ident, $e:expr) => (
-        pub fn $n<T: ToString>(&'a mut self, val: &T) -> &'a mut Self {
-            self.options.push(($e, val.to_string()));
+        pub fn $n<T: Into<OptionVal>>(&'a mut self, val: T) -> &'a mut Self {
+            self.options.push($e, val);
             self
         }
     )
@@ -176,15 +286,49 @@
             VersionType::ExternalGt => "external_gt",
             VersionType::ExternalGte => "external_gte",
             VersionType::Force => "force"
-        }.to_string()
+        }.to_owned()
     }
 }
 
+from_exp!(VersionType, OptionVal, from, OptionVal(from.to_string()));
+
 impl ToJson for VersionType {
     fn to_json(&self) -> Json {
         Json::String(self.to_string())
     }
 }
+
+/// The consistency query parameter
+pub enum Consistency {
+    One,
+    Quorum,
+    All
+}
+
+impl From<Consistency> for OptionVal {
+    fn from(from: Consistency) -> OptionVal {
+        OptionVal(match from {
+            Consistency::One => "one",
+            Consistency::Quorum => "quorum",
+            Consistency::All => "all"
+        }.to_owned())
+    }
+}
+
+/// Values for `default_operator` query parameters
+pub enum DefaultOperator {
+    And,
+    Or
+}
+
+impl From<DefaultOperator> for OptionVal {
+    fn from(from: DefaultOperator) -> OptionVal {
+        OptionVal(match from {
+            DefaultOperator::And => "and",
+            DefaultOperator::Or => "or"
+        }.to_owned())
+    }
+}
 
diff --git a/rs-es/src/rs_es/operations/delete.rs.html b/rs-es/src/rs_es/operations/delete.rs.html index 24b26e4..11b08bc 100644 --- a/rs-es/src/rs_es/operations/delete.rs.html +++ b/rs-es/src/rs_es/operations/delete.rs.html @@ -331,7 +331,7 @@ use ::Client; use ::error::EsError; use ::query::Query; -use super::common::Options; +use super::common::{Options, OptionVal}; use super::decode_json; use super::format_indexes_and_types; use super::format_query_string; @@ -399,7 +399,7 @@ impl<'a> ToJson for DeleteByQueryBody<'a> { fn to_json(&self) -> Json { let mut d = BTreeMap::new(); - d.insert("query".to_string(), self.query.to_json()); + d.insert("query".to_owned(), self.query.to_json()); Json::Object(d) } } @@ -432,7 +432,7 @@ client: client, indexes: &[], doc_types: &[], - query: QueryOption::String("".to_string()), + query: QueryOption::String("".to_owned()), options: Options::new() } } @@ -468,7 +468,7 @@ &QueryOption::Document(_) => &mut self.options, &QueryOption::String(ref s) => { let opts = &mut self.options; - opts.push(("q", s.clone())); + opts.push("q", s.to_owned()); opts } }; diff --git a/rs-es/src/rs_es/operations/get.rs.html b/rs-es/src/rs_es/operations/get.rs.html index f7ffab7..87a2ef9 100644 --- a/rs-es/src/rs_es/operations/get.rs.html +++ b/rs-es/src/rs_es/operations/get.rs.html @@ -170,6 +170,21 @@ 128 129 130 +131 +132 +133 +134 +135 +136 +137 +138 +139 +140 +141 +142 +143 +144 +145
 /*
  * Copyright 2015 Ben Ashford
@@ -195,10 +210,25 @@
 use ::Client;
 use ::error::EsError;
 use ::util::StrJoin;
-use super::common::Options;
+use super::common::{Options, OptionVal};
 use super::decode_json;
 use super::format_query_string;
 
+/// Values for the `preference` query parameter
+pub enum Preference {
+    Primary,
+    Local
+}
+
+impl From<Preference> for OptionVal {
+    fn from(from: Preference) -> OptionVal {
+        OptionVal(match from {
+            Preference::Primary => "_primary",
+            Preference::Local => "_local"
+        }.to_owned())
+    }
+}
+
 /// An ES GET operation, to get a document by ID
 pub struct GetOperation<'a, 'b> {
     /// The HTTP connection
@@ -241,7 +271,7 @@
     }
 
     pub fn with_fields(&'b mut self, fields: &[&'b str]) -> &'b mut Self {
-        self.options.push(("fields", fields.iter().join(",")));
+        self.options.push("fields", fields.iter().join(","));
         self
     }
 
@@ -283,7 +313,7 @@
     pub fn source<T: Decodable>(self) -> Result<T, EsError> {
         match self.source {
             Some(doc) => decode_json(doc),
-            None      => Err(EsError::EsError("No source".to_string()))
+            None      => Err(EsError::EsError("No source".to_owned()))
         }
     }
 }
diff --git a/rs-es/src/rs_es/operations/index.rs.html b/rs-es/src/rs_es/operations/index.rs.html
index 3ee8b8a..7c045c8 100644
--- a/rs-es/src/rs_es/operations/index.rs.html
+++ b/rs-es/src/rs_es/operations/index.rs.html
@@ -181,6 +181,8 @@
 139
 140
 141
+142
+143
 
 /*
  * Copyright 2015 Ben Ashford
@@ -205,7 +207,7 @@
 
 use ::Client;
 use ::error::EsError;
-use super::common::Options;
+use super::common::{Options, OptionVal};
 use super::format_query_string;
 
 /// Values for the op_type option
@@ -213,9 +215,11 @@
     Create
 }
 
-impl ToString for OpType {
-    fn to_string(&self) -> String {
-        "create".to_string()
+impl From<OpType> for OptionVal {
+    fn from(from: OpType) -> OptionVal {
+        match from {
+            OpType::Create => OptionVal("create".to_owned())
+        }
     }
 }
 
diff --git a/rs-es/src/rs_es/operations/mod.rs.html b/rs-es/src/rs_es/operations/mod.rs.html
index 00134b7..1a6cc02 100644
--- a/rs-es/src/rs_es/operations/mod.rs.html
+++ b/rs-es/src/rs_es/operations/mod.rs.html
@@ -212,7 +212,7 @@
 
 // Specific operations
 #[macro_use]
-mod common;
+pub mod common;
 
 pub mod bulk;
 pub mod delete;
@@ -223,14 +223,14 @@
 // Common utility functions
 
 /// Produces a query string for a URL
-fn format_query_string(options: &[(&str, String)]) -> String {
+fn format_query_string(options: &common::Options) -> String {
     let mut st = String::new();
     if options.is_empty() {
         return st;
     }
     st.push_str("?");
-    st.push_str(&options.iter().map(|&(ref k, ref v)| {
-        format!("{}={}", k, v)
+    st.push_str(&options.0.iter().map(|&(ref k, ref v)| {
+        format!("{}={}", k, v.0)
     }).join("&"));
     st
 }
@@ -239,7 +239,7 @@
 /// take multiple values
 fn format_multi(parts: &[&str]) -> String {
     if parts.is_empty() {
-        return "_all".to_string()
+        return "_all".to_owned()
     } else {
         parts.iter().join(",")
     }
diff --git a/rs-es/src/rs_es/operations/search.rs.html b/rs-es/src/rs_es/operations/search.rs.html
index 032d12e..d96d534 100644
--- a/rs-es/src/rs_es/operations/search.rs.html
+++ b/rs-es/src/rs_es/operations/search.rs.html
@@ -1043,6 +1043,17 @@
 1001
 1002
 1003
+1004
+1005
+1006
+1007
+1008
+1009
+1010
+1011
+1012
+1013
+1014
 
 /*
  * Copyright 2015 Ben Ashford
@@ -1074,23 +1085,17 @@
 use ::query::{Filter, Query};
 use ::units::{DistanceType, DistanceUnit, Duration, JsonVal, Location, OneOrMany};
 use ::util::StrJoin;
-use super::common::Options;
+use super::common::{Options, OptionVal};
 use super::decode_json;
 use super::format_indexes_and_types;
 use super::format_query_string;
 use super::ShardCountResult;
 
+/// Representing a search-by-uri option
 pub struct SearchURIOperation<'a, 'b> {
-    /// The HTTP client
     client: &'a mut Client,
-
-    /// The indexes to which this query applies
     indexes: &'b [&'b str],
-
-    /// The types to which this query applies
     doc_types: &'b [&'b str],
-
-    /// Optional options
     options: Options<'b>
 }
 
@@ -1109,7 +1114,7 @@
             &SearchType::DFSQueryAndFetch  => "dfs_query_and_fetch",
             &SearchType::QueryThenFetch    => "query_then_fetch",
             &SearchType::QueryAndFetch     => "query_and_fetch"
-        }.to_string()
+        }.to_owned()
     }
 }
 
@@ -1122,9 +1127,9 @@
 impl ToString for Order {
     fn to_string(&self) -> String {
         match self {
-            &Order::Asc => "asc".to_string(),
-            &Order::Desc => "desc".to_string()
-        }
+            &Order::Asc => "asc",
+            &Order::Desc => "desc"
+        }.to_owned()
     }
 }
 
@@ -1134,6 +1139,7 @@
     }
 }
 
+/// The (Sort mode option)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_sort_mode_option].
 pub enum Mode {
     Min,
     Max,
@@ -1148,10 +1154,11 @@
             &Mode::Max => "max",
             &Mode::Sum => "sum",
             &Mode::Avg => "avg"
-        }.to_string())
+        }.to_owned())
     }
 }
 
+/// Options for handling (missing values)[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html#_missing_values]
 pub enum Missing {
     First,
     Last,
@@ -1161,13 +1168,15 @@
 impl ToJson for Missing {
     fn to_json(&self) -> Json {
         Json::String(match self {
-            &Missing::First         => "_first".to_string(),
-            &Missing::Last          => "_last".to_string(),
+            &Missing::First         => "_first".to_owned(),
+            &Missing::Last          => "_last".to_owned(),
             &Missing::Custom(ref s) => s.clone()
         })
     }
 }
 
+/// Convert anything that can be converted into a `String` into a
+/// `Missing::Custom` value
 impl<S: Into<String>> From<S> for Missing {
     fn from(from: S) -> Missing {
         Missing::Custom(from.into())
@@ -1187,6 +1196,7 @@
 }
 
 impl SortField {
+    /// Create a `SortField` for a given `field` and `order`
     pub fn new<S: Into<String>>(field: S, order: Option<Order>) -> SortField {
         SortField {
             field:         field.into(),
@@ -1217,6 +1227,8 @@
         match self.order {
             Some(ref order) => {
                 s.push_str(":");
+                // TODO - find less clumsy way of implementing the following
+                // line
                 s.push_str(&order.to_string());
             },
             None            => ()
@@ -1298,7 +1310,7 @@
         optional_add!(inner, self.mode, "mode");
         optional_add!(inner, self.distance_type, "distance_type");
 
-        d.insert("_geo_distance".to_string(), Json::Object(inner));
+        d.insert("_geo_distance".to_owned(), Json::Object(inner));
         Json::Object(d)
     }
 }
@@ -1344,11 +1356,11 @@
         let mut d = BTreeMap::new();
         let mut inner = BTreeMap::new();
 
-        inner.insert("script".to_string(), self.script.to_json());
-        inner.insert("type".to_string(), self.script_type.to_json());
-        inner.insert("params".to_string(), self.params.to_json());
+        inner.insert("script".to_owned(), self.script.to_json());
+        inner.insert("type".to_owned(), self.script_type.to_json());
+        inner.insert("params".to_owned(), self.params.to_json());
 
-        d.insert("_script".to_string(), Json::Object(inner));
+        d.insert("_script".to_owned(), Json::Object(inner));
         Json::Object(d)
     }
 }
@@ -1420,9 +1432,19 @@
     }
 }
 
-impl ToString for Sort {
-    fn to_string(&self) -> String {
-        self.fields.iter().map(|f| f.to_string()).join(",")
+/// Conversion of a `Sort` into an `OptionVal` 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 Sort> for OptionVal {
+    fn from(from: &'a Sort) -> OptionVal {
+        OptionVal(from.fields.iter().map(|f| f.to_string()).join(","))
     }
 }
 
@@ -1453,7 +1475,7 @@
     }
 
     pub fn with_query<S: Into<String>>(&'b mut self, qs: S) -> &'b mut Self {
-        self.options.push(("q", qs.into()));
+        self.options.push("q", qs.into());
         self
     }
 
@@ -1475,7 +1497,7 @@
     add_option!(with_search_type, "search_type");
 
     pub fn with_fields(&'b mut self, fields: &[&str]) -> &'b mut Self {
-        self.options.push(("fields", fields.iter().join(",")));
+        self.options.push("fields", fields.iter().join(","));
         self
     }
 
@@ -1525,8 +1547,8 @@
 impl<'a> ToJson for SearchQueryOperationBody<'a> {
     fn to_json(&self) -> Json {
         let mut d = BTreeMap::new();
-        d.insert("from".to_string(), self.from.to_json());
-        d.insert("size".to_string(), self.size.to_json());
+        d.insert("from".to_owned(), self.from.to_json());
+        d.insert("size".to_owned(), self.size.to_json());
         optional_add!(d, self.query, "query");
         optional_add!(d, self.timeout, "timeout");
         optional_add!(d, self.terminate_after, "terminate_after");
@@ -1649,8 +1671,8 @@
     }
 
     pub fn scan(&'b mut self, scroll: Duration) -> Result<ScanResult, EsError> {
-        self.options.push(("search_type", "scan".to_string()));
-        self.options.push(("scroll", scroll.to_string()));
+        self.options.push("search_type", "scan");
+        self.options.push("scroll", &scroll);
         let url = format!("/{}/_search{}",
                           format_indexes_and_types(&self.indexes, &self.doc_types),
                           format_query_string(&self.options));
@@ -1678,7 +1700,7 @@
     pub fn source<T: Decodable>(self) -> Result<T, EsError> {
         match self.source {
             Some(source) => decode_json(source),
-            None         => Err(EsError::EsError("No source field".to_string()))
+            None         => Err(EsError::EsError("No source field".to_owned()))
         }
     }
 }
@@ -1999,8 +2021,8 @@
                 .map(|doc:TestDocument| doc.str_field)
                 .collect();
 
-            let expected_result_str:Vec<String> = ["A", "B", "C"].iter()
-                .map(|x| x.to_string())
+            let expected_result_str:Vec<String> = vec!["A", "B", "C"].into_iter()
+                .map(|x| x.to_owned())
                 .collect();
 
             assert_eq!(expected_result_str, result_str);
@@ -2018,8 +2040,8 @@
                 .map(|doc:TestDocument| doc.str_field)
                 .collect();
 
-            let expected_result_str:Vec<String> = ["A", "B", "C"].iter()
-                .map(|x| x.to_string())
+            let expected_result_str:Vec<String> = vec!["A", "B", "C"].into_iter()
+                .map(|x| x.to_owned())
                 .collect();
 
             assert_eq!(expected_result_str,
@@ -2038,8 +2060,8 @@
                 .map(|doc:TestDocument| doc.str_field)
                 .collect();
 
-            let expected_result_str:Vec<String> = ["C", "B", "A"].iter()
-                .map(|x| x.to_string())
+            let expected_result_str:Vec<String> = vec!["C", "B", "A"].into_iter()
+                .map(|x| x.to_owned())
                 .collect();
 
             assert_eq!(expected_result_str,
diff --git a/rs-es/src/rs_es/query.rs.html b/rs-es/src/rs_es/query.rs.html
index 947e57a..4fdf094 100644
--- a/rs-es/src/rs_es/query.rs.html
+++ b/rs-es/src/rs_es/query.rs.html
@@ -9417,7 +9417,7 @@
 
 //! 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.rb
 
@@ -10713,139 +10713,139 @@
                   match self {
                       
                           &Query::MatchAll(ref q) => {
-                              d.insert("match_all".to_string(), q.to_json());
+                              d.insert("match_all".to_owned(), q.to_json());
                           },
                       
                           &Query::Match(ref q) => {
-                              d.insert("match".to_string(), q.to_json());
+                              d.insert("match".to_owned(), q.to_json());
                           },
                       
                           &Query::MultiMatch(ref q) => {
-                              d.insert("multi_match".to_string(), q.to_json());
+                              d.insert("multi_match".to_owned(), q.to_json());
                           },
                       
                           &Query::Bool(ref q) => {
-                              d.insert("bool".to_string(), q.to_json());
+                              d.insert("bool".to_owned(), q.to_json());
                           },
                       
                           &Query::Boosting(ref q) => {
-                              d.insert("boosting".to_string(), q.to_json());
+                              d.insert("boosting".to_owned(), q.to_json());
                           },
                       
                           &Query::Common(ref q) => {
-                              d.insert("common".to_string(), q.to_json());
+                              d.insert("common".to_owned(), q.to_json());
                           },
                       
                           &Query::ConstantScore(ref q) => {
-                              d.insert("constant_score".to_string(), q.to_json());
+                              d.insert("constant_score".to_owned(), q.to_json());
                           },
                       
                           &Query::DisMax(ref q) => {
-                              d.insert("dis_max".to_string(), q.to_json());
+                              d.insert("dis_max".to_owned(), q.to_json());
                           },
                       
                           &Query::Filtered(ref q) => {
-                              d.insert("filtered".to_string(), q.to_json());
+                              d.insert("filtered".to_owned(), q.to_json());
                           },
                       
                           &Query::FuzzyLikeThis(ref q) => {
-                              d.insert("fuzzy_like_this".to_string(), q.to_json());
+                              d.insert("fuzzy_like_this".to_owned(), q.to_json());
                           },
                       
                           &Query::FuzzyLikeThisField(ref q) => {
-                              d.insert("fuzzy_like_this_field".to_string(), q.to_json());
+                              d.insert("fuzzy_like_this_field".to_owned(), q.to_json());
                           },
                       
                           &Query::FunctionScore(ref q) => {
-                              d.insert("function_score".to_string(), q.to_json());
+                              d.insert("function_score".to_owned(), q.to_json());
                           },
                       
                           &Query::Fuzzy(ref q) => {
-                              d.insert("fuzzy".to_string(), q.to_json());
+                              d.insert("fuzzy".to_owned(), q.to_json());
                           },
                       
                           &Query::GeoShape(ref q) => {
-                              d.insert("geo_shape".to_string(), q.to_json());
+                              d.insert("geo_shape".to_owned(), q.to_json());
                           },
                       
                           &Query::HasChild(ref q) => {
-                              d.insert("has_child".to_string(), q.to_json());
+                              d.insert("has_child".to_owned(), q.to_json());
                           },
                       
                           &Query::HasParent(ref q) => {
-                              d.insert("has_parent".to_string(), q.to_json());
+                              d.insert("has_parent".to_owned(), q.to_json());
                           },
                       
                           &Query::Ids(ref q) => {
-                              d.insert("ids".to_string(), q.to_json());
+                              d.insert("ids".to_owned(), q.to_json());
                           },
                       
                           &Query::Indices(ref q) => {
-                              d.insert("indices".to_string(), q.to_json());
+                              d.insert("indices".to_owned(), q.to_json());
                           },
                       
                           &Query::MoreLikeThis(ref q) => {
-                              d.insert("more_like_this".to_string(), q.to_json());
+                              d.insert("more_like_this".to_owned(), q.to_json());
                           },
                       
                           &Query::Nested(ref q) => {
-                              d.insert("nested".to_string(), q.to_json());
+                              d.insert("nested".to_owned(), q.to_json());
                           },
                       
                           &Query::Prefix(ref q) => {
-                              d.insert("prefix".to_string(), q.to_json());
+                              d.insert("prefix".to_owned(), q.to_json());
                           },
                       
                           &Query::QueryString(ref q) => {
-                              d.insert("query_string".to_string(), q.to_json());
+                              d.insert("query_string".to_owned(), q.to_json());
                           },
                       
                           &Query::SimpleQueryString(ref q) => {
-                              d.insert("simple_query_string".to_string(), q.to_json());
+                              d.insert("simple_query_string".to_owned(), q.to_json());
                           },
                       
                           &Query::Range(ref q) => {
-                              d.insert("range".to_string(), q.to_json());
+                              d.insert("range".to_owned(), q.to_json());
                           },
                       
                           &Query::Regexp(ref q) => {
-                              d.insert("regexp".to_string(), q.to_json());
+                              d.insert("regexp".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanFirst(ref q) => {
-                              d.insert("span_first".to_string(), q.to_json());
+                              d.insert("span_first".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanMulti(ref q) => {
-                              d.insert("span_multi".to_string(), q.to_json());
+                              d.insert("span_multi".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanNear(ref q) => {
-                              d.insert("span_near".to_string(), q.to_json());
+                              d.insert("span_near".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanNot(ref q) => {
-                              d.insert("span_not".to_string(), q.to_json());
+                              d.insert("span_not".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanOr(ref q) => {
-                              d.insert("span_or".to_string(), q.to_json());
+                              d.insert("span_or".to_owned(), q.to_json());
                           },
                       
                           &Query::SpanTerm(ref q) => {
-                              d.insert("span_term".to_string(), q.to_json());
+                              d.insert("span_term".to_owned(), q.to_json());
                           },
                       
                           &Query::Term(ref q) => {
-                              d.insert("term".to_string(), q.to_json());
+                              d.insert("term".to_owned(), q.to_json());
                           },
                       
                           &Query::Terms(ref q) => {
-                              d.insert("terms".to_string(), q.to_json());
+                              d.insert("terms".to_owned(), q.to_json());
                           },
                       
                           &Query::Wildcard(ref q) => {
-                              d.insert("wildcard".to_string(), q.to_json());
+                              d.insert("wildcard".to_owned(), q.to_json());
                           }
                       
                   }
@@ -11802,103 +11802,103 @@
                   match self {
                       
                           &Filter::And(ref q) => {
-                              d.insert("and".to_string(), q.to_json());
+                              d.insert("and".to_owned(), q.to_json());
                           },
                       
                           &Filter::Bool(ref q) => {
-                              d.insert("bool".to_string(), q.to_json());
+                              d.insert("bool".to_owned(), q.to_json());
                           },
                       
                           &Filter::Exists(ref q) => {
-                              d.insert("exists".to_string(), q.to_json());
+                              d.insert("exists".to_owned(), q.to_json());
                           },
                       
                           &Filter::GeoBoundingBox(ref q) => {
-                              d.insert("geo_bounding_box".to_string(), q.to_json());
+                              d.insert("geo_bounding_box".to_owned(), q.to_json());
                           },
                       
                           &Filter::GeoDistance(ref q) => {
-                              d.insert("geo_distance".to_string(), q.to_json());
+                              d.insert("geo_distance".to_owned(), q.to_json());
                           },
                       
                           &Filter::GeoPolygon(ref q) => {
-                              d.insert("geo_polygon".to_string(), q.to_json());
+                              d.insert("geo_polygon".to_owned(), q.to_json());
                           },
                       
                           &Filter::GeoShape(ref q) => {
-                              d.insert("geo_shape".to_string(), q.to_json());
+                              d.insert("geo_shape".to_owned(), q.to_json());
                           },
                       
                           &Filter::GeohashCell(ref q) => {
-                              d.insert("geohash_cell".to_string(), q.to_json());
+                              d.insert("geohash_cell".to_owned(), q.to_json());
                           },
                       
                           &Filter::HasChild(ref q) => {
-                              d.insert("has_child".to_string(), q.to_json());
+                              d.insert("has_child".to_owned(), q.to_json());
                           },
                       
                           &Filter::HasParent(ref q) => {
-                              d.insert("has_parent".to_string(), q.to_json());
+                              d.insert("has_parent".to_owned(), q.to_json());
                           },
                       
                           &Filter::Ids(ref q) => {
-                              d.insert("ids".to_string(), q.to_json());
+                              d.insert("ids".to_owned(), q.to_json());
                           },
                       
                           &Filter::Indices(ref q) => {
-                              d.insert("indices".to_string(), q.to_json());
+                              d.insert("indices".to_owned(), q.to_json());
                           },
                       
                           &Filter::MatchAll(ref q) => {
-                              d.insert("match_all".to_string(), q.to_json());
+                              d.insert("match_all".to_owned(), q.to_json());
                           },
                       
                           &Filter::Missing(ref q) => {
-                              d.insert("missing".to_string(), q.to_json());
+                              d.insert("missing".to_owned(), q.to_json());
                           },
                       
                           &Filter::Nested(ref q) => {
-                              d.insert("nested".to_string(), q.to_json());
+                              d.insert("nested".to_owned(), q.to_json());
                           },
                       
                           &Filter::Not(ref q) => {
-                              d.insert("not".to_string(), q.to_json());
+                              d.insert("not".to_owned(), q.to_json());
                           },
                       
                           &Filter::Or(ref q) => {
-                              d.insert("or".to_string(), q.to_json());
+                              d.insert("or".to_owned(), q.to_json());
                           },
                       
                           &Filter::Prefix(ref q) => {
-                              d.insert("prefix".to_string(), q.to_json());
+                              d.insert("prefix".to_owned(), q.to_json());
                           },
                       
                           &Filter::Query(ref q) => {
-                              d.insert("query".to_string(), q.to_json());
+                              d.insert("query".to_owned(), q.to_json());
                           },
                       
                           &Filter::Range(ref q) => {
-                              d.insert("range".to_string(), q.to_json());
+                              d.insert("range".to_owned(), q.to_json());
                           },
                       
                           &Filter::Regexp(ref q) => {
-                              d.insert("regexp".to_string(), q.to_json());
+                              d.insert("regexp".to_owned(), q.to_json());
                           },
                       
                           &Filter::Script(ref q) => {
-                              d.insert("script".to_string(), q.to_json());
+                              d.insert("script".to_owned(), q.to_json());
                           },
                       
                           &Filter::Term(ref q) => {
-                              d.insert("term".to_string(), q.to_json());
+                              d.insert("term".to_owned(), q.to_json());
                           },
                       
                           &Filter::Terms(ref q) => {
-                              d.insert("terms".to_string(), q.to_json());
+                              d.insert("terms".to_owned(), q.to_json());
                           },
                       
                           &Filter::Type(ref q) => {
-                              d.insert("type".to_string(), q.to_json());
+                              d.insert("type".to_owned(), q.to_json());
                           }
                       
                   }
@@ -12248,7 +12248,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("query".to_string(),
+                  inner.insert("query".to_owned(),
                                self.query.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -12414,10 +12414,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("fields".to_string(),
+                  d.insert("fields".to_owned(),
                            self.fields.to_json());
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -12763,8 +12763,8 @@
             }
             &MinimumShouldMatch::LowHigh(low, high) => {
                 let mut d = BTreeMap::new();
-                d.insert("low_freq".to_string(), low.to_json());
-                d.insert("high_freq".to_string(), high.to_json());
+                d.insert("low_freq".to_owned(), low.to_json());
+                d.insert("high_freq".to_owned(), high.to_json());
                 Json::Object(d)
             }
         }
@@ -12775,9 +12775,9 @@
     fn to_json(&self) -> Json {
         let mut d = BTreeMap::new();
         let mut inner = BTreeMap::new();
-        inner.insert("query".to_string(), self.query.to_json());
+        inner.insert("query".to_owned(), self.query.to_json());
         self.add_optionals(&mut inner);
-        d.insert("body".to_string(), inner.to_json());
+        d.insert("body".to_owned(), inner.to_json());
         Json::Object(d)
     }
 }
@@ -12900,7 +12900,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("queries".to_string(),
+                  d.insert("queries".to_owned(),
                            self.queries.to_json());
                 
                 self.add_optionals(&mut d);
@@ -12985,7 +12985,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("filter".to_string(),
+                  d.insert("filter".to_owned(),
                            self.filter.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13102,7 +13102,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("like_text".to_string(),
+                  d.insert("like_text".to_owned(),
                            self.like_text.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13214,7 +13214,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("like_text".to_string(),
+                  inner.insert("like_text".to_owned(),
                                self.like_text.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -13444,7 +13444,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("functions".to_string(),
+                  d.insert("functions".to_owned(),
                            self.functions.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13534,7 +13534,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -13566,15 +13566,15 @@
         let mut d = BTreeMap::new();
         let mut inner = BTreeMap::new();
 
-        inner.insert("type".to_string(), self.shape_type.to_json());
+        inner.insert("type".to_owned(), self.shape_type.to_json());
 
         let coordinates:Vec<Vec<f64>> = self.coordinates
             .iter()
             .map (|&(a, b)| vec![a, b])
             .collect();
-        inner.insert("coordinates".to_string(), coordinates.to_json());
+        inner.insert("coordinates".to_owned(), coordinates.to_json());
 
-        d.insert("shape".to_string(), Json::Object(inner));
+        d.insert("shape".to_owned(), Json::Object(inner));
         Json::Object(d)
     }
 }
@@ -13606,11 +13606,11 @@
     fn to_json(&self) -> Json {
         let mut d = BTreeMap::new();
         let mut inner = BTreeMap::new();
-        inner.insert("id".to_string(), self.id.to_json());
-        inner.insert("type".to_string(), self.doc_type.to_json());
-        inner.insert("index".to_string(), self.index.to_json());
-        inner.insert("path".to_string(), self.path.to_json());
-        d.insert("indexed_shape".to_string(), Json::Object(inner));
+        inner.insert("id".to_owned(), self.id.to_json());
+        inner.insert("type".to_owned(), self.doc_type.to_json());
+        inner.insert("index".to_owned(), self.index.to_json());
+        inner.insert("path".to_owned(), self.path.to_json());
+        d.insert("indexed_shape".to_owned(), Json::Object(inner));
         Json::Object(d)
     }
 }
@@ -13744,10 +13744,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("type".to_string(),
+                  d.insert("type".to_owned(),
                            self.doc_type.to_json());
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13802,10 +13802,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("parent_type".to_string(),
+                  d.insert("parent_type".to_owned(),
                            self.parent_type.to_json());
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13856,7 +13856,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("values".to_string(),
+                  d.insert("values".to_owned(),
                            self.values.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13929,7 +13929,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -13974,8 +13974,8 @@
 impl ToJson for Doc {
     fn to_json(&self) -> Json {
         let mut d = BTreeMap::new();
-        d.insert("_index".to_string(), self.index.to_json());
-        d.insert("_type".to_string(), self.doc_type.to_json());
+        d.insert("_index".to_owned(), self.index.to_json());
+        d.insert("_type".to_owned(), self.doc_type.to_json());
 
         optional_add!(d, self.doc, "doc");
         optional_add!(d, self.id, "_id");
@@ -14238,10 +14238,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("path".to_string(),
+                  d.insert("path".to_owned(),
                            self.path.to_json());
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -14332,7 +14332,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -14571,7 +14571,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -14699,7 +14699,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -14908,7 +14908,7 @@
             &Flag::Intersection => "INTERSECTION",
             &Flag::Interval => "INTERVAL",
             &Flag::None => "NONE"
-        }.to_string()
+        }.to_owned()
     }
 }
 
@@ -14941,7 +14941,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -14986,10 +14986,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("match".to_string(),
+                  d.insert("match".to_owned(),
                            self.span_match.to_json());
                 
-                  d.insert("end".to_string(),
+                  d.insert("end".to_owned(),
                            self.end.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15029,7 +15029,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("match".to_string(),
+                  d.insert("match".to_owned(),
                            self.span_match.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15095,10 +15095,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("clauses".to_string(),
+                  d.insert("clauses".to_owned(),
                            self.clauses.to_json());
                 
-                  d.insert("slop".to_string(),
+                  d.insert("slop".to_owned(),
                            self.slop.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15175,10 +15175,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("include".to_string(),
+                  d.insert("include".to_owned(),
                            self.include.to_json());
                 
-                  d.insert("exclude".to_string(),
+                  d.insert("exclude".to_owned(),
                            self.exclude.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15218,7 +15218,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("clauses".to_string(),
+                  d.insert("clauses".to_owned(),
                            self.clauses.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15275,7 +15275,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -15333,7 +15333,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -15442,7 +15442,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -15694,7 +15694,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("field".to_string(),
+                  d.insert("field".to_owned(),
                            self.field.to_json());
                 
                 self.add_optionals(&mut d);
@@ -15789,14 +15789,14 @@
         let mut d = BTreeMap::new();
         match self {
             &GeoBox::Corners(ref top_left, ref bottom_right) => {
-                d.insert("top_left".to_string(), top_left.to_json());
-                d.insert("bottom_right".to_string(), bottom_right.to_json());
+                d.insert("top_left".to_owned(), top_left.to_json());
+                d.insert("bottom_right".to_owned(), bottom_right.to_json());
             },
             &GeoBox::Vertices(ref top, ref left, ref bottom, ref right) => {
-                d.insert("top".to_string(), top.to_json());
-                d.insert("left".to_string(), left.to_json());
-                d.insert("bottom".to_string(), bottom.to_json());
-                d.insert("right".to_string(), right.to_json());
+                d.insert("top".to_owned(), top.to_json());
+                d.insert("left".to_owned(), left.to_json());
+                d.insert("bottom".to_owned(), bottom.to_json());
+                d.insert("right".to_owned(), right.to_json());
             }
         }
         Json::Object(d)
@@ -15962,7 +15962,7 @@
     fn to_json(&self) -> Json {
         let mut d = BTreeMap::new();
         d.insert(self.field.clone(), self.location.to_json());
-        d.insert("distance".to_string(), self.distance.to_json());
+        d.insert("distance".to_owned(), self.distance.to_json());
         self.add_optionals(&mut d);
         self.add_core_optionals(&mut d);
         Json::Object(d)
@@ -16038,7 +16038,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("points".to_string(),
+                  inner.insert("points".to_owned(),
                                self.points.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -16364,7 +16364,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("type".to_string(),
+                  d.insert("type".to_owned(),
                            self.doc_type.to_json());
                 
                 self.add_optionals(&mut d);
@@ -16459,7 +16459,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("parent_type".to_string(),
+                  d.insert("parent_type".to_owned(),
                            self.parent_type.to_json());
                 
                 self.add_optionals(&mut d);
@@ -16543,7 +16543,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("values".to_string(),
+                  d.insert("values".to_owned(),
                            self.values.to_json());
                 
                 self.add_optionals(&mut d);
@@ -16833,7 +16833,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("field".to_string(),
+                  d.insert("field".to_owned(),
                            self.field.to_json());
                 
                 self.add_optionals(&mut d);
@@ -16932,10 +16932,10 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("path".to_string(),
+                  d.insert("path".to_owned(),
                            self.path.to_json());
                 
-                  d.insert("filter".to_string(),
+                  d.insert("filter".to_owned(),
                            self.filter.to_json());
                 
                 self.add_optionals(&mut d);
@@ -17008,7 +17008,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("filter".to_string(),
+                  d.insert("filter".to_owned(),
                            self.filter.to_json());
                 
                 self.add_optionals(&mut d);
@@ -17081,7 +17081,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("filters".to_string(),
+                  d.insert("filters".to_owned(),
                            self.filters.to_json());
                 
                 self.add_optionals(&mut d);
@@ -17228,7 +17228,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("query".to_string(),
+                  d.insert("query".to_owned(),
                            self.query.to_json());
                 
                 self.add_optionals(&mut d);
@@ -17490,7 +17490,7 @@
                 let mut inner = BTreeMap::new();
 
                 
-                  inner.insert("value".to_string(),
+                  inner.insert("value".to_owned(),
                                self.value.to_json());
                 
                 self.add_optionals(&mut inner);
@@ -17575,7 +17575,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("script".to_string(),
+                  d.insert("script".to_owned(),
                            self.script.to_json());
                 
                 self.add_optionals(&mut d);
@@ -17877,7 +17877,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("value".to_string(),
+                  d.insert("value".to_owned(),
                            self.value.to_json());
                 
                 self.add_optionals(&mut d);
@@ -18101,7 +18101,7 @@
                         &Func::Gauss(_) => "gauss"
                         
                     
-                }.to_string()
+                }.to_owned()
             }
         }
 
@@ -18190,7 +18190,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("script".to_string(),
+                  d.insert("script".to_owned(),
                            self.script.to_json());
                 
                 self.add_optionals(&mut d);
@@ -18230,7 +18230,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("seed".to_string(),
+                  d.insert("seed".to_owned(),
                            self.seed.to_json());
                 
                 self.add_optionals(&mut d);
@@ -18377,7 +18377,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 
-                  d.insert("field".to_string(),
+                  d.insert("field".to_owned(),
                            self.field.to_json());
                 
                 self.add_optionals(&mut d);
@@ -18514,7 +18514,7 @@
             fn to_json(&self) -> Json {
                 let mut d = BTreeMap::new();
                 let mut inner = BTreeMap::new();
-                inner.insert("origin".to_string(), self.origin.to_json());
+                inner.insert("origin".to_owned(), self.origin.to_json());
                 optional_add!(inner, self.scale, "scale");
                 optional_add!(inner, self.decay, "decay");
                 optional_add!(inner, self.offset, "offset");
diff --git a/rs-es/src/rs_es/units.rs.html b/rs-es/src/rs_es/units.rs.html
index 39ab64f..d603a07 100644
--- a/rs-es/src/rs_es/units.rs.html
+++ b/rs-es/src/rs_es/units.rs.html
@@ -258,6 +258,16 @@
 216
 217
 218
+219
+220
+221
+222
+223
+224
+225
+226
+227
+228
 
 /*
  * Copyright 2015 Ben Ashford
@@ -286,6 +296,8 @@
 
 use rustc_serialize::json::{Json, ToJson};
 
+use ::operations::common::OptionVal;
+
 /// The units by which duration is measured.
 ///
 /// TODO - this list is incomplete
@@ -304,7 +316,7 @@
             DurationUnit::Day    => "d",
             DurationUnit::Hour   => "h",
             DurationUnit::Minute => "m"
-        }.to_string()
+        }.to_owned()
     }
 }
 
@@ -344,6 +356,14 @@
     }
 }
 
+impl<'a> From<&'a Duration> for OptionVal {
+    fn from(from: &'a Duration) -> OptionVal {
+        OptionVal(from.to_string())
+    }
+}
+
+from_exp!(Duration, OptionVal, from, OptionVal(from.to_string()));
+
 /// Representing a geographic location
 pub enum Location {
     LatLon(f64, f64),
@@ -358,8 +378,8 @@
         match self {
             &Location::LatLon(lat, lon) => {
                 let mut d = BTreeMap::new();
-                d.insert("lat".to_string(), Json::F64(lat));
-                d.insert("lon".to_string(), Json::F64(lon));
+                d.insert("lat".to_owned(), Json::F64(lat));
+                d.insert("lon".to_owned(), Json::F64(lon));
                 Json::Object(d)
             },
             &Location::GeoHash(ref geo_hash) => {
@@ -410,7 +430,7 @@
             &DistanceType::SloppyArc => "sloppy_arc",
             &DistanceType::Arc       => "arc",
             &DistanceType::Plane     => "plane"
-        }.to_string())
+        }.to_owned())
     }
 }
 
@@ -439,7 +459,7 @@
             DistanceUnit::Centimeter => "cm",
             DistanceUnit::Millimeter => "mm",
             DistanceUnit::NauticalMile => "NM"
-        }.to_string()
+        }.to_owned()
     }
 }
 
@@ -471,7 +491,7 @@
 
 impl<'a> From<&'a str> for JsonVal {
     fn from(from: &'a str) -> JsonVal {
-        JsonVal::String(from.to_string())
+        JsonVal::String(from.to_owned())
     }
 }
 
diff --git a/rs-es/src/rs_es/util.rs.html b/rs-es/src/rs_es/util.rs.html
index 2bdcc2a..aacae88 100644
--- a/rs-es/src/rs_es/util.rs.html
+++ b/rs-es/src/rs_es/util.rs.html
@@ -191,7 +191,7 @@
 macro_rules! optional_add {
     ($map:ident, $sn:expr, $field:expr, $val: ident, $ex:expr) => {
         match $sn {
-            Some(ref $val) => { $map.insert($field.to_string(), $ex); }
+            Some(ref $val) => { $map.insert($field.to_owned(), $ex); }
             _              => ()
         }
     };
@@ -209,7 +209,7 @@
 
 macro_rules! get_json_string {
     ($r:ident,$f:expr) => {
-        get_json_thing!($r,$f,as_string).to_string()
+        get_json_thing!($r,$f,as_string).to_owned()
     }
 }