///<summary>Specify which field to use for suggestions</summary>
 internal static DeleteByQueryRequestParameters _SuggestField <T>(this DeleteByQueryRequestParameters qs, Expression <Func <T, object> > suggest_field) where T : class =>
 qs.AddQueryString("suggest_field", (Field)suggest_field);
Exemplo n.º 2
0
 ///<summary>A list of fields to extract and return from the _source field</summary>
 internal static DeleteByQueryRequestParameters _SourceInclude <T>(this DeleteByQueryRequestParameters qs, IEnumerable <Expression <Func <T, object> > > source_include) where T : class =>
 qs.AddQueryString("_source_include", source_include.Select(e => (Field)e));
 ///<summary>A comma-separated list of fields to return as the docvalue representation of a field for each hit</summary>
 internal static DeleteByQueryRequestParameters _DocvalueFields <T>(this DeleteByQueryRequestParameters qs, IEnumerable <Expression <Func <T, object> > > docvalue_fields) where T : class =>
 qs.AddQueryString("docvalue_fields", docvalue_fields.Select(e => (Field)e));