예제 #1
0
 /// <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);
 }
예제 #2
0
 /// <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);
 }