NEST by Elastic and contributors

<PackageReference Include="NEST" Version="5.4.0" />

.NET API 4,554,240 bytes

 FieldCapabilitiesDescriptor

descriptor for FieldCaps http://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html

/_field_caps

A shortcut into calling Index(Indices.All)

public FieldCapabilitiesDescriptor AllowNoIndices(bool allow_no_indices = true)

Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)

public FieldCapabilitiesDescriptor ErrorTrace(bool error_trace = true)

Include the stack trace of returned errors.

Whether to expand wildcard expression to concrete indices that are open, closed or both.

public FieldCapabilitiesDescriptor Fields(string[] fields)

A comma-separated list of field names

public FieldCapabilitiesDescriptor Fields<T>(Expression<Func<T, object>>[] fields)

A comma-separated list of field names

public FieldCapabilitiesDescriptor FilterPath(string[] filter_path)

A comma-separated list of filters used to reduce the respone.

public FieldCapabilitiesDescriptor Human(bool human = true)

Return human readable values for statistics.

public FieldCapabilitiesDescriptor IgnoreUnavailable(bool ignore_unavailable = true)

Whether specified concrete indices should be ignored when unavailable (missing or closed)

A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices

a shortcut into calling Index(typeof(TOther))

public FieldCapabilitiesDescriptor Pretty(bool pretty = true)

Pretty format the returned JSON response.

public FieldCapabilitiesDescriptor Source(string source)

The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.