NEST by Elastic and contributors

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

.NET API 4,554,240 bytes

 SearchShardsDescriptor<T>

A descriptor wich describes a search operation for _search_shards

/{index}/{type}/_search_shards

A shortcut into calling Index(Indices.All)

public SearchShardsDescriptor<T> 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)

a shortcut into calling Type(Types.All)

public SearchShardsDescriptor<T> 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 SearchShardsDescriptor<T> FilterPath(string[] filter_path)

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

public SearchShardsDescriptor<T> Human(bool human = true)

Return human readable values for statistics.

public SearchShardsDescriptor<T> IgnoreUnavailable(bool ignore_unavailable = true)

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

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

public SearchShardsDescriptor<T> Index<TOther>()

a shortcut into calling Index(typeof(TOther))

public SearchShardsDescriptor<T> Local(bool local = true)

Return local information, do not retrieve the state from master node (default: false)

public SearchShardsDescriptor<T> Preference(string preference)

Specify the node or shard the operation should be performed on (default: random)

public SearchShardsDescriptor<T> Pretty(bool pretty = true)

Pretty format the returned JSON response.

public SearchShardsDescriptor<T> Routing(string routing)

Specific routing value

public SearchShardsDescriptor<T> Source(string source)

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

A comma-separated list of document types to search; leave empty to perform the operation on all types

public SearchShardsDescriptor<T> Type<TOther>()

a shortcut into calling Type(typeof(TOther))