/// <summary> /// Sets the no match filter, can either be <tt>all</tt> or <tt>none</tt>. /// </summary> public IndicesFilter <T> NoMatchFilter(IndicesNoMatchMode noMatchFilter) { RegisterJsonPart("'no_match_filter': {0}", noMatchFilter.AsString().Quotate()); return(this); }
/// <summary> /// The simplified no match query. Use "all" to match all documents, or "none" to math none. /// </summary> public IndicesQuery <T> NoMatchQuery(IndicesNoMatchMode noMatchQuery) { RegisterJsonPart("'no_match_query': {0}", noMatchQuery.AsString().Quotate()); return(this); }