Exemplo n.º 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);
 }
Exemplo n.º 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);
 }